• Resolved harwooje

    (@harwooje)


    got the critical error message this morning when updating wp-optimize to 3.3.1. Our site is hosted at WPEngine. After reloading the dashboard I couldn’t find any obvious problem with the site.

    Below is the error report:

    Error Details
    =============
    An error of type E_ERROR was caused in line 366 of the file /nas/content/live/iriscenter/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php. Error message: Uncaught Error: Class “WPO_WebP_Cron_Scheduler” not found in /nas/content/live/iriscenter/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php:366
    Stack trace:
    #0 /nas/content/live/iriscenter/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(30): WP_Optimize_WebP->init_webp_cron_scheduler()
    #1 /nas/content/live/iriscenter/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(41): WP_Optimize_WebP->__construct()
    #2 /nas/content/live/iriscenter/wp-content/plugins/wp-optimize/wp-optimize.php(269): WP_Optimize_WebP::get_instance()
    #3 /nas/content/live/iriscenter/wp-content/plugins/wp-optimize/wp-optimize.php(565): WP_Optimize->get_webp_instance()
    #4 /nas/content/live/iriscenter/wp-includes/class-wp-hook.php(324): WP_Optimize->plugins_loaded(”)
    #5 /nas/content/live/iriscenter/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #6 /nas/content/live/iriscenter/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /nas/content/live/iriscenter/wp-settings.php(506): do_action(‘plugins_loaded’)
    #8 /nas/content/live/iriscenter/wp-config.php(92): require_once(‘/nas/content/li…’)
    #9 /nas/content/live/iriscenter/wp-load.php(50): require_once(‘/nas/content/li…’)
    #10 /nas/content/live/iriscenter/wp-admin/admin.php(34): require_once(‘/nas/content/li…’)
    #11 /nas/content/live/iriscenter/wp-admin/update-core.php(10): require_once(‘/nas/content/li…’)
    #12 {main}
    ? thrown

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support vupdraft

    (@vupdraft)

    It seems to be relating to your WebP.

    Do you have any plugins that also do WebP installed on your site?

    What php and WP version are you using?

    Are you still getting this error?

    Plugin Contributor Venkat Raj

    (@webulous)

    @harwooje It seem like your (auto) updating from version 3.3.0 to 3.3.1 is incomplete. WP-Optimize no longer uses WPO_WebP_Cron_Scheduler class and it seems the update removed that class file successfully, but didn’t update the file that calls it.

    Please do a manual overwrite of /wp-content/plugins/wp-optimize folder or do fresh install

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘critical error notice on wp-optimize update to 3.3.1’ is closed to new replies.