• mdknight

    (@mdknight)


    When I attempt to upload a header image I get this error
    Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.

    Not matter how small I make it. I am using the Neve theme and Elementor
    yes I have tried switching the theme and disabling all plugins

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 134 total)
  • Hi @mdknight, could you provide some more information about the error:

    • Where are you trying to upload the header image (is it from the Customizer)?
    • Could you open the browser tools and look in the “Network” tab there, then try uploading a new header image and copy and paste any errors you see in a comment here.
    • This reply was modified 5 years ago by Andrew Ozz.
    • This reply was modified 5 years ago by Andrew Ozz.

    Everybody else that is experiencing problems when trying to upload, could you try these steps to help resolve this please:

    1. Reload the page 3-4 times while holding down Shift.
    2. Right-click and select “Inspect” (or similar) to open the browser tools.
    3. In the browser tools go to the “Console” tab.
    4. Try to upload an image.
    5. If there are any errors shown in the console, please post them here.
    6. If there are no errors shown, switch to the “Network” tab in the browser tools and try to upload again.
    7. Post the messages you see in the network tab in another response here.

    (You can remove your site’s domain name or replace it with dots if you prefer when posting errors. The important part of the error is after the domain.)

    andiwest

    (@andiwest)

    I’m getting a 404 on the async-upload.php file

    moxie.min.js:1 POST https://terragardenssantafe.com/wp-admin/async-upload.php 404 (Not Found)

    Jill Anderson

    (@jillbalkus)

    I am also getting the error:
    Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.

    Console error says:
    POST …/wp-admin/async-upload.php 500 (Internal Server Error)
    load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.3:10

    djsquid2019

    (@djsquid2019)

    I’ve been experiencing the same issue since updating to 5.3

    Looking in the console I’m getting;

    POST https://www.anthonyeamens.co.uk/wp-admin/async-upload.php 500 load-scripts.php?c=1…plupload&ver=5.3:10

    and in the network tab :

    async-upload.php 500 (initiator – load-scripts.php)
    admin.ajax.php 500 (initiator – load-scripts.php)

    @andiwest are you uploading from the Media Library? If not, could you try from there.

    If you still see the same 404 error this may be an indication of failed WP upgrade or perhaps problems with some server security settings. Could you try going to that URL directly while logged in wp-admin. You should see “The link you followed has expired.” on otherwise empty screen, that’s normal. If you don’t see that, maybe try reinstalling WP or contact your webhosting company.

    @jillbalkus, @djsquid2019, these errors are now handled in WP. They mean post-processing of the uploaded image has failed and WP is trying to continue. There should be 4-5 attempts, the first to async-upload.php the rest to admin.ajax.php that may end with HTTP 500 errors.

    If all post-processing attempts fail, the last one should be to admin.ajax.php to do a “cleanup” and should be successful (HTTP code 200).

    Is this different than what you see in the browser tools? If not, could you try scaling down the image with an image editing app on the computer/phone to roughly 2500px (width or height) and upload it again.

    • This reply was modified 5 years ago by Andrew Ozz.
    • This reply was modified 5 years ago by Andrew Ozz.
    andiwest

    (@andiwest)

    @azaozz was doing it in the media library. Did it again, followed link and did see “The link you followed has expired.” on otherwise empty screen.

    I started having issues with this site 2 days ago, before the update to 5.3. was released. At 5.2.4 image upload resulted in “Http Error”. I increased increased WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, and max_upload_size. etc.. in php.ini ( phprc specifically because this is @ Dreamhost) wp-config, and htaccess. None worked. Figured I might get a PFM fix with the 5.3 update, but alas, nope. Same result to media upload, but different error.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    404 errors are likely the result of a failed update. Use the reinstall button in the update area to make sure WordPress has all the files.

    A 500 error is likely a permissions error. Check that the files and directories have the correct permissions on the server.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Also, to clear cache for a page where you’re experiencing problems, here another sure fire way.

    In Chrome, on the page, open the inspector tool. While that is open, back on the original page, right click the reload button. This will give you a menu. Choose the “Clear cache and hard reload” option from that menu. This will do the job every time.

    twostar01

    (@twostar01)

    @azaozz

    Console errors:

    
    load-scripts.php?c=0…cts-fade&ver=5.3:10 POST https://www.net/wp-admin/async-upload.php 500
    load-scripts.php?c=0…ects-fade&ver=5.3:4 POST https://www.net/wp-admin/admin-ajax.php 500
    load-scripts.php?c=0…ects-fade&ver=5.3:4 POST https://www.net/wp-admin/admin-ajax.php 500
    load-scripts.php?c=0…ects-fade&ver=5.3:4 POST https://www.net/wp-admin/admin-ajax.php 500
    load-scripts.php?c=0…ects-fade&ver=5.3:4 POST https://www.net/wp-admin/admin-ajax.php 500
    load-scripts.php?c=0…ects-fade&ver=5.3:4 POST https://www.net/wp-admin/admin-ajax.php 500
    

    @otto42 Would permissions have changed during the 5.3 upgrade? I’m doing a quick spot check and not noticing anything out of normal.

    • This reply was modified 5 years ago by twostar01.
    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    @twostar01 permissions can change during an upgrade in unusual circumstances, however given your log, it seems more like it’s running into the big image thing.

    How large is this image that you are trying to upload? Not in terms of file size, but in terms of resolution?

    alikgriffin

    (@alikgriffin)

    I’m experiencing the same problems. I usually upload images at 3000px wide but I compress them locally with ImageOptim so the files are always under 1MB. When I upload them I get the error. However, the files upload but get converted to 2560px wide.

    I can upload through the media library and not get the error but the files still get resized to 2560px wide.

    For now, I’m automating all my files locally to resize to 2500px, this allows me to upload them through the media library without the error or without some strange WordPress resizing.

    I’ve worked with my server admin for quite some time to try to figure this out, it’s clearly a WordPress bug currently with no fix.

    ken01102018

    (@ken01102018)

    Same problem here. Yesterday, when uploading a batch of images, most would upload, with maybe one that failed. Initially, I could re-upload the failed image with no problem. Eventually, that failed and now no images will upload. I’ve never had to reduce the image size to upload, but I greatly increased the allowable upload image size, with the same result. I recall having this same issue about a year ago after an upgrade and it seems that the fix then was fairly simple, but not this time. Purging the Cache does not cure this problem for me. Does anyone there have a solid fix for this problem?

    andiwest

    (@andiwest)

    My issue turned out to be ModSecurity misconfiguration. Sorry, I don’t have more info on tat. DH Support just got back to me that they have corrected it. Suggestion would be to hit up your hosting to check on it. Good luck.

Viewing 15 replies - 1 through 15 (of 134 total)
  • The topic ‘Unable to upload images’ is closed to new replies.