Image Uploading Error
-
Running WordPress 5.7 with PHP 7.4 on Windows IIS 10.0.14393.0
Uploading an image produces the following error:
post-processing of the image failed likely because the server is busy or does not have enough resources. uploading a smaller image may help. suggested maximum size is 2500 pixels.
I did the following to troubleshoot:
Using a small test image (much smaller than 2500px)
Clearing the cache in Chrome.
Using a different PC on a different network.
Removing odd characters from file names.
Using a different theme.
Increasing Upload Size and Max File Size to 20M in php.ini
Increasing Sites Memory from 128M to 512M
Downgrading PHP to 7.2 (reverted to a fresh copy of 7.4)
Installing the PHP Image Magick plugin on server (again)
Disabling php_gd2.dll (re-enabled after failing)
Telling WP to use GD_editor by editing the functions.php (Reverted after failed)
Updating WordPress DIVI theme.
Disabling all WordPress plugins.
Scanning the server for malware or hacking.
Scanning and repairing the MySQL Database with WordPress plugin.
Using a plugin to “add from server”, then downloading images directly to the server. This plugin fails too.
Updating the server itself (it runs Windows Server 2016).
Rebooting the server and restarting the site in IIS after each relevant change or step.
Opening Port 3306 on the Firewall for MySQL.
Finally the issue went away when rolling things back to PHP 7.1 and WordPress 5.5.3.
This bug is worth looking into, lots of people report it and the error message seems to be misleading as the image size doesn’t seem to have anything to do with whatever the underlying issue is.
- The topic ‘Image Uploading Error’ is closed to new replies.