Title: Got Error HTTP Error 500
Last modified: June 17, 2019

---

# Got Error HTTP Error 500

 *  Resolved [webdoc121](https://wordpress.org/support/users/webdoc121/)
 * (@webdoc121)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/)
 * Dear, I have installed the Autoptimize and enable it, then I have got HTTP error
   500. I have previously used the wp super cache plugin. Now please suggest me 
   the way to use both the plugins…

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/got-error-http-error-500/?output_format=md)
[1](https://wordpress.org/support/topic/got-error-http-error-500/?output_format=md)
2

 *  Thread Starter [webdoc121](https://wordpress.org/support/users/webdoc121/)
 * (@webdoc121)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/page/2/#post-11647789)
 * Dear, these are the error in error log
 * [Tue Jun 18 2019] Backend fatal error: PHP Fatal error: Allowed memory size of
   134217728 bytes exhausted (tried to allocate 1314816 bytes) in /home/public_html/
   wp-content/plugins/autoptimize/classes/external/php/minify-html.php on line 133\
   n
 * [Tue Jun 18 2019] Backend fatal error: PHP Fatal error: Allowed memory size of
   134217728 bytes exhausted (tried to allocate 1200128 bytes) in /home/public_html/
   wp-content/plugins/autoptimize/classes/autoptimizeStyles.php on line 966\n
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/page/2/#post-11648041)
 * ahhhh, that’s a totally different situation; it seems like AO is the last straw
   that breaks the camel’s back here. you will either have to increase your PHP 
   memory limit or think about removing plugins (as per your previous post “a huge
   list”) ..
 *  Thread Starter [webdoc121](https://wordpress.org/support/users/webdoc121/)
 * (@webdoc121)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/page/2/#post-11648114)
 * Dear, I have increased the memory limit from 64 mb to 128 and enable all the 
   options, but still having error http 500
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/page/2/#post-11648479)
 * Given the error-message you posted earlier you were already at 128MB though;
 * > [Tue Jun 18 2019] Backend fatal error: PHP Fatal error: Allowed memory size
   > of 134217728 bytes exhausted
 * my 2c; you have a lot of plugins, which probably inject a lot of CSS and the 
   minification of big chunks of CSS adds even more to the amount of memory needed(
   although the exclusion of `themes` or `plugins` should limit the amount of CSS
   to optimize).
 * so possible workarounds:
    * use less plugins * allocate more memory (128MB still
   is not a lot, I regularly see 256 or even 512MB recommended for heavy things 
   such as WooCommerce or Thrive or …) * run AO without CSS opt. * try excluding(
   more) from CSS optimization (untick the “minify excluded CSS/ JS”-option).
 * hope this helps,
    frank
 *  Thread Starter [webdoc121](https://wordpress.org/support/users/webdoc121/)
 * (@webdoc121)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/page/2/#post-11648798)
 * Yes Dear, allocation of 256 MB solves all the problem…
 * Thanks for the suggestion…
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/page/2/#post-11648805)
 * you’re welcome webdoc121 , feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂
 * have a nice day!
    frank

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/got-error-http-error-500/?output_format=md)
[1](https://wordpress.org/support/topic/got-error-http-error-500/?output_format=md)
2

The topic ‘Got Error HTTP Error 500’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 21 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/got-error-http-error-500/page/2/#post-11648805)
 * Status: resolved