Cannot upload images
-
A few days ago my self-hosted WordPress site was working fine, I was able to upload images and create posts normally.
Then suddenly later on that same day, I was unable to upload any images. I had made no changes to settings or anything of that sort in the interim but it just stopped.
When I try to upload an image I would get the following error message that I am sure many of you are familiar with:
“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 am running WordPress 5.5.1 with the most recent update of the ColorMag theme.
First I will get the obvious stuff out of the way. The image I was trying to upload was small in file size and resolution.
I have tried several different image files and the same thing happened every time.
Here is a list of everything I have tried so far:
1. I went into my PHP from Cpanel and increased my memory limit to the max 512 and maxed out post size and upload size
2. I changed my PHP to version 7.3 and did the same memory limit increases
3. I changed my PHP to version 7.4 and did the same memory limit increases
4. I tried turning “imagick” extension off while leaving the “GD” extension on in all versions of PHP that would work.
5. I tried keeping “imagick” on and turning off “GD” in all versions of PHP that would work.
6. I cleared all the caches using W3 Total Cache.
7. I tried using the ‘Disable BIG image threshold’ plugin with each version of PHP that would work
8. I tried adding the following lines to my functions.php page
“function use_gd_editor($array) {
return array( ‘WP_Image_Editor_GD’, );
}
add_filter( ‘wp_image_editors’, ‘use_gd_editor’ );”9. I tried adding “add_filter( ‘wp_image_editors’, function() { return array( ‘WP_Image_Editor_GD’ ); } );” to my functions.php page.
10. I tried contacting my hosting provider’s tech support and telling them about the problem. They said they “increased some resources” but that also did not work.
At the time of me writing this forum post I am on the third day of this issue continuing.
I am by no means an IT professional. Everything I have tried so far were suggestions I found from googling and searching forums.
If anyone else has any suggestions to something that I have not tried yet that does not involve nuking my whole site, I would appreciate it.
Thank you
The page I need help with: [log in to see the link]
- The topic ‘Cannot upload images’ is closed to new replies.