• Lee

    (@junior)


    I am running the latest version of WordPress on a self installation (Ubuntu) and noticed that I always see this error with certain images I have yet to find a solution. I have increased Memory Limit to 256M in php and also Maximum upload file size to 1 GB and no luck.

    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.

    Again, things I have tried:

    • Memory Limit increased to 256M
    • Maximum upload file size to 1 GB
    • Renaming the file to test.jpg
    • Verifying the file size (currently testing a JPG at 1.1M)

    I ran out of things to try. Any ideas?

Viewing 15 replies - 16 through 30 (of 41 total)
  • been facing the same issue on my admin user. funny thing is that we have gone through all solutions mentioned online like increasing the server limit, upload size, clear cache etc. also, this error comes up for my user specifically. images are uploading fine on other’s end.

    Change your WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT in your wp-config.php and php.ini. I had it at 512M when started showing the error, then I changed it to 256M ! It’s Working perfect again. ALL GOOD!!!

    Setting the?memory_limit?to a very high value might be an issue too, this limit is also?protecting your server by blocking inefficient PHP code. If you allocate too much memory, and there are poorly coded scripts, it might be counterproductive because your server could start eating into disk swap space.

    https://docs.wp-rocket.me/article/128-increase-php-memory-limit-in-wordpress

    Had the same problem with a very small image, 1700×300 px, ~47Kb size.

    I only changed the WP_MEMORY_LIMIT to 256, refreshed the page, and it worked.

    Strangely, I’ve had this limit in my wp_config.php file, but I commented out at some point in time. Unfortunately, I don’t remember why… I hope it doesn’t have a negative impact in other areas.

    I had the same problem and the solution was to rename the file. There was a name with an apostrophe that generated that error about the size that had nothing to do with it.

    This just randomly becomes a problem today. I’ve done thousands of websites and this is the first time I’ve seen this flag happen when it was a compressed image that is below the threshold.

    Had to clear the cache to get rid of the issue.

    I was receiving the same error while having my VPN on. I turned off VPN and now it is able to upload an image. Hope this helps anyone that is having the same or similar trouble.

    So interesting to see this cropping up so much recently…! Was hitting the same problem on a not-especially-big image (I’ve used bigger ones with no issue for over 15 years now; today was my first encounter with the situation). I didn’t edit any config settings to fix it: I logged out of my account, then logged back in… and tried again to upload it — sailed through with no error message at all.

    FWIW, in case others continue to experience it!

    • This reply was modified 8 months, 3 weeks ago by FLJerseyBoy.

    Re-install wp core – (Recommanded after backup)

    Dashboard > Updates? and click “Re-install Version” button.

    deizi23

    (@deizi23)

    I only changed the?WP_MEMORY_LIMIT?to 256, refreshed the page, and it worked.

    Wanted to add on to this thread and for any others that encounter this problem as I just did that it could be non WordPress related. In my case I had recently setup a Cloudflare rule to protect our site from spammers and mass POST requests.

    Decided to open the browsers developer console (F12) and saw the response being returned back when uploading a file from async-upload.php was a 403 because it was triggering my massPOST request check rule.

    Simply added an exception to my Cloudflare rule for async-upload.php and the problem was fixed. So I’m guessing this a pretty generic error message that occurs if async-upload.php doesn’t return a proper response which is a JSON response.

    So the first step I’d do to see exactly which issue is affecting you would be looking at the response coming back from async-upload.php in the dev console and you’ll most likely find either no response is coming back, an error message from PHP (most likely memory, file size, or execution time related), or something like a plugin/custom code is outputting some text along with the JSON response making it malformed and not a proper JSON response.

    • This reply was modified 7 months, 3 weeks ago by omicr0n.

    I got the same error reports. And I followed @nomadknowhows ‘s tip of turning VPN on/off. It works !

    “I was receiving the same error while having my VPN on. I turned off VPN and now it is able to upload an image. Hope this helps anyone that is having the same or similar trouble.”

    hope this helps

    I had the same issue. Logging out and back in solved it with no changes to anything else.

    For me, it was a plugin conflict between the Safe SVG plugin and either the Elementor SVG upload filter or the ASE plugin SVG upload filter. Deactivating the Safe SVG plugin solved it.

    Hello. Has anyone solved this problem yet? I’m struggling with the same thing. I couldn’t upload a 169 kb image.

    Hi all, what I did that worked is clearing the cache. I was using Firefox as my browser.

Viewing 15 replies - 16 through 30 (of 41 total)
  • You must be logged in to reply to this topic.