• Resolved webdoc121

    (@webdoc121)


    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)
  • Thread Starter webdoc121

    (@webdoc121)

    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

    (@optimizingmatters)

    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

    (@webdoc121)

    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

    (@optimizingmatters)

    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

    (@webdoc121)

    Yes Dear, allocation of 256 MB solves all the problem…

    Thanks for the suggestion…

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome webdoc121 , feel free to leave a review of the plugin and support here! 🙂

    have a nice day!
    frank

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

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