• Hello,

    I’ve been using Autoptimize for about 2 years without any problems. Around 3-4 months ago, my website crashed immediately after updating all of my plugins. I was unable to reach any page on my website nor login to WordPress. After logging into my GoDaddy hosting account and opening Cpanel dashboard I noticed that the “memory usage” and “I/O usage” graphs that normally sit around 15% were now maxed out. Also, there were around 30 “PHP processes” running and normally there are around 2-3 processes running.

    The only way that I could bring the website back on-line was to kill all PHP processes in Cpanel and quickly login to WordPress and deactivate Autoptimize plugin. Since then, I’ve had Autoptimize plugin deactivated and had no problems with my website. Unfortunately, without the plugin my website load times have increased by 2-3 second on average.

    Today, I activated the Autoptimize plugin again and the same thing happened as described previously. So, I deactivated the plugin, removed and re-installed (Autoptimize Version 2.4.4) and the same thing happened.

    Below is the error I get in Chrome browser when website crashes:

    *Service Unavailable – The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

    Can you help or have any ideas of what might be hapenning?

    == Server Environment ==
    Operating System: Linux
    Software: Apache
    MySQL version: MySQL Community Server (GPL) v5.6.39
    PHP Version: 7.1.18

    == WordPress Environment ==
    Version: 4.9.9

    == Theme ==
    Name: Highend
    Version: 3.4.9.1
    Author: HB-Themes
    Child Theme: No

    == Active Plugins ==
    Call Now Button
    Version: 0.3.5
    Author: Jerry Rietveld

    Contact Form 7
    Version: 5.1.1
    Author: Takayuki Miyoshi

    Disable Emojis (GDPR friendly)
    Version: 1.7.2
    Author: Ryan Hellyer

    Elementor
    Version: 2.3.8
    Author: Elementor.com

    Elementor Pro
    Version: 2.3.1
    Author: Elementor.com

    Essential Grid
    Version: 2.1.6.2.2
    Author: ThemePunch

    Jetpack by WordPress.com
    Version: 6.8.1
    Author: Automattic

    LocalBusiness Markup Schema
    Version: 1.1
    Author: RankYa

    Page Builder by SiteOrigin
    Version: 2.9.7
    Author: SiteOrigin

    RankYa Fix hatom Errors
    Version: 1.1
    Author: RankYa

    Really Simple SSL
    Version: 3.1.3
    Author: Rogier Lankhorst, Mark Wolters

    Sitename Schema Plugin
    Version: 1.1
    Author: RankYa

    Smush
    Version: 3.0.2
    Author: WPMU DEV

    Spacer
    Version: 3.0.4
    Author: Justin Saad

    UpdraftPlus – Backup/Restore
    Version: 1.16.0
    Author: UpdraftPlus.Com, DavidAnderson

    W3 Total Cache
    Version: 0.9.7
    Author: Frederick Townes

    Welcome to WordPress
    Version: 1.0
    Author: Starfield Technologies

    WP-Optimize
    Version: 2.2.9
    Author: David Anderson, Ruhani Rabin, Team Updraft

    WPBakery Page Builder
    Version: 5.4.5
    Author: Michael M – WPBakery.com

    WP Sitemap Page
    Version: 1.6.1
    Author: Tony Archambeau

    Yoast SEO
    Version: 9.3
    Author: Team Yoast

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, first of all make sure all minification in W3TC is disabled to avoid any conflict. Then enable AO but only with CSS optimization, then only JS optimization and then only HTML optimization, goal being to pinpoint which one is causing the extra load?

    Thread Starter mainstreetlawn

    (@mainstreetlawn)

    Hello,

    Thanks so much for your quick response.

    Ok, I verified W3 Total Cache minify settings were indeed disabled as shown below. The A/O plugin was installed, but deactivated. I checked Cpanel resource graphs and they showed less than 10% usage, only 2 PHP processes running and website working as expected.

    I then removed, re-installed and activated A/O plugin and left in default state (all optimization boxes UNchecked). I immediately looked at Cpanel resource graphs and they showed CPU 65%, memory maxed 100%, I/O maxed 100%, PHP processes jumped to 33. I lost connection to WordPress dashboard and the website gradually slowed to a crawl within 2-3 minutes and only the static home page was reachable.

    Only way to bring website back on-line was just as before mentioned, kill PHP processes and quickly login to WordPress and deactivate A/O plugin.

    W3 Total Cahe
    General Settings Screen: Minify enable box not checked
    Minify Screen: Minify via disk is currently disabled

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    in that case I’m at a loss I’m afraid; if all optimization boxes are unchecked then there is barely anything AO is doing. is there any information in the PHP errorlog that might give away a clue?

    Thread Starter mainstreetlawn

    (@mainstreetlawn)

    Yes, I just checked and see a list of PHP fatal errors (log pasted below) during the 45 minutes I was testing the site with A/O enabled last night 1/8/19. No other errors were in the log since October 2018 which is around the time I started having the problem and disabled the A/O plugin.

    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor/includes/tracker.php on line 323
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor/includes/tracker.php on line 323
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor/core/settings/general/manager.php on line 1
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/jetpack/modules/theme-tools/content-options.php on line 75
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/skins/posts-archive-skin-classic.php on line 1
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/skins/posts-archive-skin-classic.php on line 1
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor/core/settings/general/manager.php on line 183
    [08-Jan-2019 05:36:06 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/skins/posts-archive-skin-classic.php on line 1
    [08-Jan-2019 05:36:06 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/skins/posts-archive-skin-classic.php on line 1
    [08-Jan-2019 05:36:06 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:36:05 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/skins/posts-archive-skin-classic.php on line 1
    [08-Jan-2019 05:36:06 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:37:34 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/slides/module.php on line 1
    [08-Jan-2019 05:37:34 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 05:37:34 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/jetpack/modules/shortcodes/dailymotion.php on line 1
    [08-Jan-2019 05:37:34 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:11:07 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php on line 333
    [08-Jan-2019 06:11:07 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:11:23 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/siteorigin-panels/inc/widgets/layout.php on line 1
    [08-Jan-2019 06:11:23 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:11:23 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/siteorigin-panels/inc/widgets/layout.php on line 1
    [08-Jan-2019 06:11:23 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:11:23 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/library/wp-widgets/elementor-library.php on line 1
    [08-Jan-2019 06:11:23 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:12:51 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/wp-optimize/wp-optimize.php on line 1404
    [08-Jan-2019 06:12:51 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:12:51 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/elementor-pro/modules/share-buttons/widgets/share-buttons.php on line 475
    [08-Jan-2019 06:12:51 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:13:27 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-admin/includes/class-walker-category-checklist.php on line 1
    [08-Jan-2019 06:13:27 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:13:27 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/jetpack/modules/shortcodes/slideshow.php on line 245
    [08-Jan-2019 06:13:27 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:13:27 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/w3-total-cache/CacheFlush.php on line 1
    [08-Jan-2019 06:13:27 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:13:47 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/elementor/includes/schemes/color.php on line 175
    [08-Jan-2019 06:13:47 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:14:56 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/options-framework/classes/option.php on line 647
    [08-Jan-2019 06:14:56 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:14:56 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/jetpack/modules/shortcodes/gravatar.php on line 1
    [08-Jan-2019 06:14:56 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:14:56 UTC] PHP Fatal error: Class ‘autoptimizeScripts’ not found in /home/dbn/public_html/wp-content/plugins/w3-total-cache/Util_File.php on line 1
    [08-Jan-2019 06:14:56 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:15:12 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-admin/includes/class-wp-automatic-updater.php on line 854
    [08-Jan-2019 06:15:12 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:15:12 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/plugins/wp-smushit/core/modules/class-wp-smushit.php on line 515
    [08-Jan-2019 06:15:12 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/admin/metaboxes/meta-box-master/inc/functions.php on line 1
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/admin/metaboxes/meta-box-master/inc/functions.php on line 1
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/admin/metaboxes/meta-box-master/inc/functions.php on line 1
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/admin/metaboxes/meta-box-master/inc/functions.php on line 1
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/admin/metaboxes/meta-box-master/inc/functions.php on line 1
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/admin/metaboxes/meta-box-master/inc/functions.php on line 1
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Class ‘W3TC\Util_Content’ not found in /home/dbn/public_html/wp-content/themes/HighendWP/admin/metaboxes/meta-box-master/inc/functions.php on line 1
    [08-Jan-2019 06:16:44 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Wow, something’s terribly broken there mainstreetlaw … lots of errors _seem_ to have nothing to do with Autoptimize, lots of

    Class ‘W3TC\Util_Content’ not found

    and

    Cannot use output buffering

    , lots of errors from elementor and elementor-pro.

    This _seems_ to indicate that your theme or a plugin behave differently when AO is active and that that alternate behavior is breaking things badly.

    I think the best way forward to identify the culprit would be disable plugins and/or switch themes (on an non-production environment if possible). Based on the outcome we can decide on next steps.

    I have exactly same problem since i updated all plugins one week ago.

    When i enable autoptimize, website automatically crashes.

    I have to disable autoptimize from FTP or restore Backup to make website work again.

    Here is website URL: https://www.dreamjob.ma/

    Thank you.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    same for you dreamjobma; disable plugins/ switch themes to see which one is conflicting.

    Thread Starter mainstreetlawn

    (@mainstreetlawn)

    Ok, thanks so much for your help this far. Unfortunately, I don’t have a non-production site for testing and I know just enough about WP to get myself in BIG trouble, so testing on the production site is probably not wise for me going at it alone.

    Over the next few days, I’ll figure out how to set-up a testing environment. Any suggestions or recommendations would be appreciated as I only know to use something like Duplicator plugin. I would call myself somewhere between a beginner-intermediate level WP user, so just need something simple if you know of anything.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    As Frank said, elementor seems to be doing something when AO is activated. AO has been changed/refactored significantly since version 2.4.0. Maybe they are relying on old behaviour of AO somehow?

    If the issue is indeed caused by elementor, then we should report to their devs as well.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you confirm this (an ugly website crash) happens when you’re using both AO and Elementor @marcoevich ?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Website Crashes/Activate Autoptimize’ is closed to new replies.