• Resolved momo-fr

    (@momo-fr)


    Hi, we have an error from WordPress with the last update of WooCommerce:

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

    With Elementor PRO + Hello theme. The site appears to be functional.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi @momo-fr,

    I completely understand how frustrating it is to run into a critical error right after an update, especially when it affects a live store.

    Just to confirm: this issue is known. It doesn’t occur in most environments, which is why some stores updated without any problems while others, like yours, hit the fatal error immediately. Our development team has already identified the cause and is actively working on an update (10.5.1) that will include the fix.

    In the meantime, the workaround is either deleting/deactivating and manually reinstalling the plugin, or rolling back to the previous working version, which restores stability until the patched release is available.

    Thanks again for taking the time to report this and for your patience while the fix is being finalized.

    Plugin Support Kay U a11n

    (@kingsleyinfo)

    Hi @momo-fr

    I trust you’re doing great! Just circling back here to check if you’ve had time to update the plugin and if the issue is still occurring.

    Looking forward to hearing from you!

    Plugin Support Kay U a11n

    (@kingsleyinfo)

    I’m going to mark this as resolved, as we haven’t heard back from you in a while. Please open a new thread if you need further assistance.

    Your feedback helps others – please consider leaving a review: https://wordpress.org/support/plugin/woocommerce/reviews/

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

You must be logged in to reply to this topic.