• Resolved julianosb

    (@julianosb)


    Hello, after updating WooCommerce to version 8.5.1 I received an email with error information:
    
    -------------------
    
    Hello!
    
    WordPress has a built-in feature that detects when a plugin or theme causes a crash on your website and notifies you with this automated email.
    
    In this case, WordPress detected an error with your plugin: WooCommerce.
    
    First, visit their website (https://x/) and check if there are any visible problems. Then visit the page where the error was found (https://x/wp-admin/update.php?action=upgrade-plugin&plugin=woocommerce%2Fwoocommerce.php&_wpnonce=x) and check if there are any visible problem .
    
    Please contact the support team where you host your site for help investigating this issue.
    
    If your site appears to be broken and you can't access your control panel as usual, WordPress now has a special "restore mode." This allows you to securely access your dashboard and investigate further.
    
    https://x/wp-admin/?action=enter_recovery_mode&rm_token=x&rm_key=x
    
    To keep your site secure, this link will expire in 1 day. Don't worry about this, however, a new link will be emailed to you if the error occurs again after the link has expired.
    
    When seeking help with this issue, you may be asked to provide some of the following information:
    WordPress version 6.4.2
    Current theme: Astra Child (version 1.0.0)
    Current plugin: WooCommerce (version 8.5.1)
    PHP version 8.2.13
    
    
    
    Error details
    ================
    An E_ERROR error was caused on line 90 of the file /home/x/domains/x/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php. Error message: Uncaught Error: Failed opening required '/home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Legacy.php' (include_path = '.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/x/ domains/x/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php:90
    Stacktrace:
    #0 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/StoreApi.php(70): Automattic\Jetpack\Autoloader\jpff434b07a578bad74ca880af0f2deced\ PHP_Autoloader::load_class()
    #1 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Registry/AbstractDependencyType.php(42): Automattic\WooCommerce\StoreApi\StoreApi: :Automattic\WooCommerce\StoreApi\{closure}()
    #2 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Registry/SharedType.php(28): Automattic\WooCommerce\Blocks\Registry\ AbstractDependencyType->resolve_value()
    #3 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Registry/Container.php(96): Automattic\WooCommerce\Blocks\Registry\ SharedType->get()
    #4 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/StoreApi.php(26): Automattic\WooCommerce\Blocks\Registry\ Container->get()
    #5 /home/x/domains/x/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\StoreApi\StoreApi->Automattic\WooCommerce\StoreApi\{closure} ()
    #6 /home/x/domains/x/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /home/x/domains/x/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /home/x/domains/x/public_html/wp-includes/rest-api.php(593): do_action()
    #9 /home/x/domains/x/public_html/wp-includes/rest-api.php(551): rest_get_server()
    #10 /home/x/domains/x/public_html/wp-includes/rest-api.php(2918): rest_do_request()
    #11 [internal function]: rest_preload_api_request()
    #12 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Settings.php(143): array_reduce()
    #13 /home/x/domains/x/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Settings->add_component_settings()
    #14 /home/x/domains/x/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #15 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(61): apply_filters()
    #16 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php(268): Automattic\WooCommerce\Internal\Admin\ WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin\{closure}()
    #17 /home/x/domains/x/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets\AssetDataRegistry->execute_lazy_data()
    #18 /home/x/domains/x/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data()
    #19 /home/x/domains/x/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #20 /home/x/domains/x/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #21 /home/x/domains/x/public_html/wp-admin/admin-footer.php(95): do_action()
    #22 /home/x/domains/x/public_html/wp-admin/update.php(76): require_once('/home/xxxxx...')
    #23 {main}
       thrown
    
    
    I found it strange because I don't use Jetpack
    
    restored a previous backup to get back to normal...
    • This topic was modified 10 months, 1 week ago by julianosb.
Viewing 16 replies (of 16 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there,

    I’m sorry to hear that you’re having trouble after updating WooCommerce to version 8.5.1.

    Based on the error message you received, it seems the issue lies with the Jetpack autoloader file in the WooCommerce plugin, which is failing to load a required file.

    Restoring to a previous backup was a good first step. As we already have an update for WooCommerce to version 8.5.2, I would recommend you try manually updating the WooCommerce plugin.

    You can do this on a staging site by downloading the latest version of WooCommerce, then uploading it to your site via the Plugins > Add New > Upload Plugin screen in your WordPress dashboard.

    Please try this and let us know how this goes.

Viewing 16 replies (of 16 total)
  • The topic ‘Error after Update to 8.5.1’ is closed to new replies.