• Resolved tinpeas

    (@tinpeas)


    I am getting multiple errors on various sites following the 10.5.0 update.

    The sites appear to be working but I am getting the email 'Your Site is Experiencing a Technical Issue'. I have included 3 examples below.

    Interestingly this report is only being sent on sites that have had the update applied manually. Sites that updated overnight did not send the report.


    Error 1 - Site 1
    WordPress version 6.9.1
    Active theme: Theme Name (version 1.0)
    Current plugin: WooCommerce (version 10.5.0)
    PHP version 8.2.30

    Error Details
    =============
    An error of type E_ERROR was caused in line 25 of the file /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/class-wp-rest-abilities-init.php. Error message: Uncaught Error: Failed opening required '/var/www/vhosts/domain.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/endpoints/class-wp-rest-abilities-run-controller.php'(include_path='.:/opt/plesk/php/8.2/share/pear') in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/class-wp-rest-abilities-init.php:25
    Stack trace:
    #0 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(341): WP_REST_Abilities_Init::register_routes()
    #1 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #2 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(522): WP_Hook->do_action()
    #3 /var/www/vhosts/domain.com/httpdocs/wp-includes/rest-api.php(636): do_action()
    #4 /var/www/vhosts/domain.com/httpdocs/wp-includes/rest-api.php(594): rest_get_server()
    #5 /var/www/vhosts/domain.com/httpdocs/wp-includes/rest-api.php(2981): rest_do_request()
    #6 [internal function]: rest_preload_api_request()
    #7 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Settings.php(148): array_reduce()
    #8 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Internal\Admin\Settings->add_component_settings()
    #9 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #10 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(73): apply_filters()
    #11 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(274): Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin\{closure}()
    #12 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(390): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data()
    #13 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data()
    #14 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #15 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(522): WP_Hook->do_action()
    #16 /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/template.php(2226): do_action()
    #17 /var/www/vhosts/domain.com/httpdocs/wp-admin/update.php(53): iframe_footer()
    #18 {main}
     thrown

    Error 2 - Site 2
    WordPress version 6.9.1
    Active theme: Theme Name 2(version 1.0)
    Current plugin: WooCommerce (version 10.5.0)
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 25 of the file /var/www/vhosts/domain2.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/class-wp-rest-abilities-init.php. Error message: require_once(): Failed opening required '/var/www/vhosts/domain2.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/endpoints/class-wp-rest-abilities-run-controller.php' (include_path='.:/opt/plesk/php/7.4/share/pear')

    Error 3 - Site 3
    WordPress version 6.9.1
    Active theme: Theme Name 3 (version 1.0)
    Current plugin: WooCommerce (version 10.5.0)
    PHP version 8.1.34

    Error Details
    =============
    An error of type E_ERROR was caused in line 25 of the file /var/www/vhosts/domain3.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/class-wp-rest-abilities-init.php. Error message: Uncaught Error: Failed opening required '/var/www/vhosts/domain3.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/endpoints/class-wp-rest-abilities-run-controller.php' (include_path='.:/opt/plesk/php/8.1/share/pear') in /var/www/vhosts/domain3.com/httpdocs/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/class-wp-rest-abilities-init.php:25
    Stack trace:
    #0 /var/www/vhosts/domain3.com/httpdocs/wp-includes/class-wp-hook.php(341): WP_REST_Abilities_Init::register_routes()
    #1 /var/www/vhosts/domain3.com/httpdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #2 /var/www/vhosts/domain3.com/httpdocs/wp-includes/plugin.php(522): WP_Hook->do_action()
    #3 /var/www/vhosts/domain3.com/httpdocs/wp-includes/rest-api.php(636): do_action()
    #4 /var/www/vhosts/domain3.com/httpdocs/wp-includes/rest-api.php(594): rest_get_server()
    #5 /var/www/vhosts/domain3.com/httpdocs/wp-includes/rest-api.php(2981): rest_do_request()
    #6 [internal function]: rest_preload_api_request()
    #7 /var/www/vhosts/domain3.com/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Settings.php(150): array_reduce()
    #8 /var/www/vhosts/domain3.com/httpdocs/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Internal\Admin\Settings->add_component_settings()
    #9 /var/www/vhosts/domain3.com/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #10 /var/www/vhosts/domain3.com/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(73): apply_filters()
    #11 /var/www/vhosts/domain3.com/httpdocs/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(274): Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin\{closure}()
    #12 /var/www/vhosts/domain3.com/httpdocs/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(390): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data()
    #13 /var/www/vhosts/domain3.com/httpdocs/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data()
    #14 /var/www/vhosts/domain3.com/httpdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #15 /var/www/vhosts/domain3.com/httpdocs/wp-includes/plugin.php(522): WP_Hook->do_action()
    #16 /var/www/vhosts/domain3.com/httpdocs/wp-admin/includes/template.php(2226): do_action()
    #17 /var/www/vhosts/domain3.com/httpdocs/wp-admin/update.php(53): iframe_footer()
    #18 {main}
    thrown
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @tinpeas,

    Thanks for sharing the detailed error reports, I can see how concerning it is to receive critical error emails across multiple sites right after updating, and I am keen to help you get this fully understood and stabilized.

    From the errors you shared, WooCommerce is failing to load a required file from the abilities API package, which usually points to an incomplete or interrupted plugin update rather than a PHP or theme specific issue. The fact that this only occurred on sites updated manually further supports that possibility.

    A good first step here is to reinstall WooCommerce to ensure all plugin files are present and intact. You can do this by going to Plugins, Installed Plugins, deleting WooCommerce, then reinstalling the latest version from Plugins, Add New. This does not remove orders or store data. After reinstalling, please also clear any server level caching or PHP opcache if available in your hosting panel, as stale opcode caches can sometimes continue referencing missing files. Here is a guide for how to uninstall and install WooCommerce again: https://woocommerce.com/document/installing-uninstalling-woocommerce/.

    If the issue persists after a reinstall, the next step would be to review your WooCommerce System Status Report so we can rule out environment level factors. You can find this under WooCommerce, Status, then Get system report, Copy for support. Please paste the full report into https://pastebin.com or https://gist.github.com and share the link here. This guide walks through how to access and understand the status report if needed, https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/.

    Once we have that information, we can dig deeper and guide you on the best next steps. Looking forward to your update.

    Plugin Support Kay U a11n

    (@kingsleyinfo)

    Since there’s been no recent activity on this thread, I’m marking it as resolved. Don’t hesitate to start a new thread if you need help in the future.

    If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.