WooCommerce Related Problem


#1

My website went down after I clicked update all my addons.
The error is HTP Error 500

Error Report

Warning : include_once(/home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-content/plugins/woocommerce/includes/class-woocommerce.php): failed to open stream: No such file or directory in /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-content/plugins/woocommerce/woocommerce.php on line 26

Warning : include_once(): Failed opening ‘/home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-content/plugins/woocommerce/includes/class-woocommerce.php’ for inclusion (include_path=’.:/usr/share/pear/’) in /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-content/plugins/woocommerce/woocommerce.php on line 26

Fatal error : Uncaught Error: Class ‘WooCommerce’ not found in /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-content/plugins/woocommerce/woocommerce.php:38 Stack trace: #0 /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-content/plugins/woocommerce/woocommerce.php(42): wc() #1 /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-settings.php(305): include_once(’/home/vol5_8/ep…’) #2 /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-config.php(89): require_once(’/home/vol5_8/ep…’) #3 /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-load.php(37): require_once(’/home/vol5_8/ep…’) #4 /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-blog-header.php(13): require_once(’/home/vol5_8/ep…’) #5 /home/vol5_8/epizy.com/epiz_22995764/htdocs/index.php(17): require(’/home/vol5_8/ep…’) #6 {main} thrown in /home/vol5_8/epizy.com/epiz_22995764/htdocs/wp-content/plugins/woocommerce/woocommerce.php on line 38

Please help me, I’m a newbie


#2

This likely means that something has gone wrong during the upgrade process, causing the plugin to be corrupted.

Judging by the error messages, it sounds like WooCommerce specifically has broken down. The fastest way to solve this is to reinstall the plugin.

To do so, you will first need to disable it. If you don’t have access to WordPress’ admin area, you can still disable the plugin like this: https://www.ostraining.com/blog/wordpress/disable-a-wordpress-plugin/

After that, you can remove and re-install the plugin as usual.