Woocommerce Error after update
-
So today I got a new version of woocommerce available notification and clicked the update button. Immediately I received this email telling me of an error. I tried to download the plugin from the download link in the wp/plugins/woocommerce market and reinstall figuring the file transfer got corrupted but the error persists. The plugin worked fine before the update with no errors so it must be something to do with the update. The website loads properly and I can login to the dashboard. Can’t seem to see any issues with either frontend or backend even though I am being told of the error.
Error Details
An error of type E_ERROR was caused in line 25 of the file /home/username/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/username/public_html/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/endpoints/class-wp-rest-abilities-run-controller.php’ (include_path=’.:/opt/cpanel/ea-php82/root/usr/share/pear’) in /home/username/public_html/wp-content/plugins/woocommerce/vendor/wordpress/abilities-api/includes/rest-api/class-wp-rest-abilities-init.php:25
Stack trace: 0 /home/username/public_html/wp-includes/class-wp-hook.php(341): WP_REST_Abilities_Init::register_routes(Object(WP_REST_Server)) 1 /home/username/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) 2 /home/username/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) 3 /home/username/public_html/wp-includes/rest-api.php(636): do_action(‘rest_api_init’, Object(WP_REST_Server)) 4 /home/username/public_html/wp-includes/rest-api.php(594): rest_get_server() 5 /home/username/public_html/wp-includes/rest-api.php(2981): rest_do_request(Object(WP_REST_Request)) 6 [internal function]: rest_preload_api_request(Array, ‘/jetpack/v4/con…’) 7 /home/username/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Settings.php(148): array_reduce(Array, ‘rest_preload_ap…’) 8 /home/username/public_html/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Internal\Admin\Settings->add_component_settings(Array) 9 /home/username/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 10 /home/username/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(73): apply_filters(‘woocommerce_adm…’, Array) 11 /home/username/public_html/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(274): Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin{closure}() 12 /home/username/public_html/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(390): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data() 13 /home/username/public_html/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data(”) 14 /home/username/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(”, Array) 15 /home/username/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) 16 /home/username/public_html/wp-admin/includes/template.php(2226): do_action(‘admin_print_foo…’) 17 /home/username/public_html/wp-admin/update.php(53): iframe_footer() 18 {main}thrown
You must be logged in to reply to this topic.