Woocommerce plugin fatal error while trying to activate plugin
-
I’m having an issue with the woocommerce plugin. There was an update available and when I tried to update it multiple times, it gave me the error message that the update failed.
After trying this 3-4 times eventually I got the message there was a critical error on this website after which I logged in through the recovery mode and deactivated the plugin and tried to activate it again and got this message:
Fatal error: Uncaught RuntimeException: Failed to locate plugin /var/www/wp-content/plugins/woocommerce in /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-plugin-locator.php:47 Stack trace: #0 /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-autoloader.php(46): Automattic\Jetpack\Autoloader\jpfd0d177b2d8140b4b20d4474b07b8ed7\Plugin_Locator->find_current_plugin() #1 /var/www/wp-content/plugins/woocommerce/vendor/autoload_packages.php(13): Automattic\Jetpack\Autoloader\jpfd0d177b2d8140b4b20d4474b07b8ed7\Autoloader::init() #2 /var/www/wp-content/plugins/woocommerce/src/Autoloader.php(37): require('/var/www/wp-con...') #3 /var/www/wp-content/plugins/woocommerce/woocommerce.php(27): Automattic\WooCommerce\Autoloader::init() #4 /var/www/wp-admin/includes/plugin.php(2300): include('/var/www/wp-con...') #5 /var/www/wp-admin/plugins.php(191): plugin_sandbox_scrape('woocommerce/woo...') #6 {main} thrown in /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-plugin-locator.php on line 47
These are the details for the website where the plugin is being used:
WordPress version 5.7.2
Current theme: Hello Elementor (version 2.3.1)
Current plugin: WooCommerce (version 5.3.0)
PHP version 7.3.12Error Details ============= An error of type E_ERROR was caused in line 47 of the file /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-plugin-locator.php. Error message: Uncaught RuntimeException: Failed to locate plugin /var/www/wp-content/plugins/woocommerce in /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-plugin-locator.php:47 Stack trace: #0 /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-autoloader.php(46): Automattic\Jetpack\Autoloader\jpfd0d177b2d8140b4b20d4474b07b8ed7\Plugin_Locator->find_current_plugin() #1 /var/www/wp-content/plugins/woocommerce/vendor/autoload_packages.php(13): Automattic\Jetpack\Autoloader\jpfd0d177b2d8140b4b20d4474b07b8ed7\Autoloader::init() #2 /var/www/wp-content/plugins/woocommerce/src/Autoloader.php(37): require('/var/www/wp-con...') #3 /var/www/wp-content/plugins/woocommerce/woocommerce.php(27): Automattic\WooCommerce\Autoloader::init() #4 /var/www/wp-settings.php(391): include_once('/var/www/wp-con...') #5 /var/www/wp-config.php(91): require_once('/var/www/wp-set...') #6 /var/www/wp-load.php(37): require_once('/var/www/wp-con...') #7 /var/www/wp-admin/admin.php(34): require_once('/var/www/wp-
I’ve tried activating the plugin outside recovery mode and in recovery mood, it hasn’t worked and I haven’t been able to find any other solution through forums either. This is a website for a client so I need it up and running soon again, would appreciate any help on how to fix this! Thank you
- The topic ‘Woocommerce plugin fatal error while trying to activate plugin’ is closed to new replies.