If the backend works perfectly fine but the frontend crashes or shows a 503 Service Unavailable error, verify the issue using the following steps:
- Go to WP Admin > Media > Add New, upload any image, and check whether an error occurs.
- If you receive the error “The server cannot process the image” (https://share.zight.com/7Ku9NgOk), use this tool (https://www.iloveimg.com/compress-image) to compress the image and remove its metadata, then re-upload the compressed file.
- If the “cannot process image” error no longer appears, the issue is likely caused by your server not handling images with metadata correctly. Please report this to your hosting provider about the error “The server cannot process the image” (https://share.zight.com/7Ku9NgOk) when uploading images with metadata.
Meanwhile, you can fix this by using the Smush plugin to optimise images and remove image metadata:
– Install the Smush plugin: https://wordpress.org/plugins/wp-smushit/
– Go to WP Admin > Smush > Bulk Smush and make sure the “Remove image metadata” option is enabled: https://share.zight.com/geuXKJG4. Under Advanced Settings, enable “Optimise original images” (https://share.zight.com/P8uPOWvx), then click “Bulk Smush”: https://share.zight.com/Jru9ZXAo. The free version of the plugin allows only 50 images per batch. If you have many images, click the “Resume” button each time it reaches 50 images.
– If any images are missed, go to WP Admin > Media and click the “Smush” button for the specific image: https://share.zight.com/jkuN01jB
– Once the Smush plugin has removed the image metadata, the issue should no longer occur.