Title: HTTP error when trying to upload image (Disabled Automatic Optimization)
Last modified: August 31, 2016

---

# HTTP error when trying to upload image (Disabled Automatic Optimization)

 *  Resolved [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-trying-to-upload-image-disabled-automatic-optimization/)
 * Hello,
 * We experiencing HTTP error problem on image upload (image used for debug: [https://goo.gl/qto0My](https://goo.gl/qto0My))
   while EWWW plugin is active. No matter that we have enabled options to disable
   auto optimize on image upload and enabled deferred optimization by wp_cron.
 * WordPress 4.4.2
    EWWW Image Optimizer 2.6.1 Debug data: [https://pastebin.com/LjzqvUZe](https://pastebin.com/LjzqvUZe)(
   redacted username/website address) EWWW Advanced Settings: [https://goo.gl/itNm7Z](https://goo.gl/itNm7Z)
   HTTP error: [https://goo.gl/k2EgrL](https://goo.gl/k2EgrL)
 * As soon as we disable EWWW, image is uploaded and crunched w/o error. Example
   [https://goo.gl/aMAq5p](https://goo.gl/aMAq5p)
 * Other plugins for images on webiste:
    WP Retina 2x v4.4.4
 * Can you please advice, what we can do to resolve this issue?
 * Kind regards,
    Aleksandar U.
 * [https://wordpress.org/plugins/ewww-image-optimizer/](https://wordpress.org/plugins/ewww-image-optimizer/)

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

 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-trying-to-upload-image-disabled-automatic-optimization/#post-7218848)
 * disable every other plugin except EWWW, and switch to one of the default themes.
   If the issue persists, check the server error logs, or install the Debug Bar 
   plugin ([https://wordpress.org/plugins/debug-bar/](https://wordpress.org/plugins/debug-bar/))
   and turn on debugging in your wp-config.php.
    If disabling the other plugins 
   works, which it should, then re-enable your theme, and other plugins one by one
   until you find the conflict.
 *  Thread Starter [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-trying-to-upload-image-disabled-automatic-optimization/#post-7219182)
 * Hi nosilver4u,
 * I tracked down that EWWW wp_cron is ignored when plugin [WP Retina 2x](https://wordpress.org/plugins/wp-retina-2x/)
   is enabled.
 * Can that info maybe help you to nail this issue and prevent automatic optimization
   when Retina plugin generate retina image sizes?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-trying-to-upload-image-disabled-automatic-optimization/#post-7219183)
 * I should have mentioned earlier that deferred optimization and disable auto-optimize
   are mutually exclusive options. You don’t need to use both of them, and I’m not
   sure what issues that could cause.
 * That said, I did find a problem that would do exactly what you’re seeing (and
   I was able to verify it on my dev site). Looks to be a pretty simple fix, I’ll
   let you know when I’ve got it ready to download.
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-trying-to-upload-image-disabled-automatic-optimization/#post-7219184)
 * Ok, grab the bugfix from here: [https://downloads.wordpress.org/plugin/ewww-image-optimizer.zip](https://downloads.wordpress.org/plugin/ewww-image-optimizer.zip)
 *  Thread Starter [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-trying-to-upload-image-disabled-automatic-optimization/#post-7219185)
 * Hi nosilver4u,
 * Looks that yo fixed it. No optipng triggered during upload (monitored processes
   with `top` in shell), and crunching finished in WP w/o HTTP error. Tested with
   3MB large PNG file and all went fine.
 * I also disabled option **Disable Automatic Optimization** and leave only **Deferred
   Optimization**.
 * Thank you very much!

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

The topic ‘HTTP error when trying to upload image (Disabled Automatic Optimization)’
is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/http-error-when-trying-to-upload-image-disabled-automatic-optimization/#post-7219185)
 * Status: resolved