• Resolved fissure

    (@fissure)


    I got this email from wordpress today:

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WP-Optimize – Clean, Compress, Cache.

    First, visit your website […removed various nonce-keys and very well-known standard text]

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.5.1
    Current theme: Astra (version 2.5.4)
    Current plugin: WP-Optimize – Clean, Compress, Cache (version 3.1.2)
    PHP version 7.3.12

    Error Details
    =============
    An error of type E_ERROR was caused in line 159 of the file /var/www/wp-content/plugins/wp-optimize/wp-optimize.php. Error message: Uncaught Error: Class ‘WPO_Page_Cache’ not found in /var/www/wp-content/plugins/wp-optimize/wp-optimize.php:159
    Stack trace:
    #0 /var/www/wp-content/plugins/wp-optimize/wp-optimize.php(400): WP_Optimize->get_page_cache()
    #1 /var/www/wp-includes/class-wp-hook.php(287): WP_Optimize->plugins_loaded(”)
    #2 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /var/www/wp-settings.php(409): do_action(‘plugins_loaded’)
    #5 /var/www/wp-config.php(84): require_once(‘/var/www/wp-set…’)
    #6 /var/www/wp-load.php(37): require_once(‘/var/www/wp-con…’)
    #7 /var/www/wp-login.php(12): require(‘/var/www/wp-loa…’)
    #8 {main}
    thrown

    Warning: include_once(/var/www/wp-content/plugins/wp-optimize/cache/class-wpo-page-cache.php): failed to open stream: No such file or directory in /var/www/wp-content/plugins/wp-optimize/wp-optimize.php on line 157

    Warning: include_once(): Failed opening ‘/var/www/wp-content/plugins/wp-optimize/cache/class-wpo-page-cache.php’ for inclusion (include_path=’.:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/pear:/usr/share/php’) in /var/www/wp-content/plugins/wp-optimize/wp-optimize.php on line 157

    Fatal error: Uncaught Error: Class ‘WPO_Page_Cache’ not found in /var/www/wp-content/plugins/wp-optimize/wp-optimize.php:159 Stack trace: #0 /var/www/wp-content/plugins/wp-optimize/wp-optimize.php(400): WP_Optimize->get_page_cache() #1 /var/www/wp-includes/class-wp-hook.php(287): WP_Optimize->plugins_loaded(”) #2 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/wp-settings.php(409): do_action(‘plugins_loaded’) #5 /var/www/wp-config.php(84): require_once(‘/var/www/wp-set…’) #6 /var/www/wp-load.php(37): require_once(‘/var/www/wp-con…’) #7 /var/www/wp-admin/admin.php(34): require_once(‘/var/www/wp-loa…’) #8 /var/www/wp-admin/index.php(10): require_once(‘/var/www/wp-adm…’) #9 {main} thrown in /var/www/wp-content/plugins/wp-optimize/wp-optimize.php on line 159

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    My hosting is through godaddy. I can’t interact with the website at all. If I try silverleaflawn.com, I get this message “There has been a critical error on your website.Learn more about debugging in WordPress[link].” If I go to the recovery mode link, I get the message “Recovery Mode not initialized.”

    What is going on and how do I fix it?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Somehow there seems to be a file missing in the plugin.
    To fix the issue:
    – use a FTP client to access your website’s files.
    – Browse to wp-content/plugins
    – Locate the folder wp-optimize and delete it.
    – At your website root, open the file wp-config.php
    – Locate the line that says define('WP_CACHE', true);
    – Remove that line and save the file

    This should restore access to your website.
    You can then re-install WP-Optimize from the plugin repository.

    Marc

    Thread Starter fissure

    (@fissure)

    Thank you for the reply.

    The website is now up. However, this was an expensive error for both myself and my client. How can I be assured that this will not happen again using your plugin?

    Thank you.

    • This reply was modified 4 years, 5 months ago by fissure.

    @fissure You can upload the plugins files via FTP/SFTP instead? to avoid any missing files?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress caught an error with one of your plugins, WP-Optimize – Clean, Compres’ is closed to new replies.