Search for the Article

Issue Resolved : Server Cannot Process Image. If Server Is Busy Or Does Not Have Enough Resources To Complete Task.

Issue : The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels. 

Explanation: 

This error message indicates that the server is having difficulty processing the image you're trying to upload. This can occur for several reasons:

  1. Server Resource Limitations: The server might be running low on resources such as memory or CPU power. This can be common on shared hosting environments.

  2. Large Image Size: The image you're trying to upload might be too large in terms of dimensions or file size. WordPress recommends a maximum image size of 2560 pixels in any dimension to help mitigate these issues.

  3. Timeouts: The server might be timing out while processing the image, especially if the server is busy or under heavy load.

  4. PHP Memory Limit: The PHP configuration on your server might have a low memory limit, preventing large images from being processed.


Solution:  Add below code in the function.php and it will now work like a charm 

	  
  add_filter( 'big_image_size_threshold', '__return_false' );