• Resolved visualinventor

    (@visualinventor)


    In the most recent version of WP 4.6 and 4.6.1 Adminimize is cluttering the async-upload.php json response with actual script tags. This is keeping the async-uploader in Wp from completing it’s upload.

    Technically you shouldn’t be putting any console messages out in production code – so this one really needs to get fixed.

    Steps to reproduce.
    1. Fire up Adminimize and hide some things.
    2. Have someone uplaod an image to a post/attach the upload will go to the server but the thumbnail creation process never completes breaking the image process.
    3. Look inside the json response for the upload (async-upload.php) and you will see all kinds of Adminimize code that should NOT be a part of the json response of an image upload.

    Disabling the plugin resolves the issue but this is basic functionality that’s needed (uploading an image) – the plugin shouldn’t break that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter visualinventor

    (@visualinventor)

    And just FYI it’s the same issue this person was trying to describe (they weren’t technical and didn’t have a better way to communicate it). Hopefully my very technical response will help you troubleshoot the issue. I can confirm what she was seeing.

    https://wordpress.org/support/topic/plugin-prevents-featured-image-from-loading/

    Plugin Contributor Frank Bueltge

    (@bueltge)

    Thanks for the hint ant detailed help. Maybe I have a topic with the check for ajax. I will check this in the source. WP have no solid core function to valid this, currently I check via

    if (defined('DOING_AJAX') && DOING_AJAX) { /* it's an AJAX call */ }

    Plugin Contributor Frank Bueltge

    (@bueltge)

    I review this topic, but I can’t find a problem. The JSON response is always correctly. But maybe on a other parts of the option of Adminimize is this possible. Can you send me your settings or a screenshot?

    I’ve had the same problem. All I had to do is turn off debugging in the plugin settings and now it works again.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adminimize causes async-upload.php to fail for image upload’ is closed to new replies.