Website is not showing any content. Problem with Woocommerce plugin
-
I am having error on my website related to Woocommerce plugin. The error is given below…
Kindly help or guide me how to rectify it. I tried the recovery mode, and resumed the plugin. Then the website works normally. But when I logout from my dashboard and open the frontpage of the website then I get the error message as: There has been a critical error on this website. Learn more about troubleshooting WordPress.
The error details in plugin page in recovery mode are as follows –
An error of type?
E_ERROR
?was caused in line?19
?of the file?/home1/dsvidtyp/dpakola.com/wp-content/plugins/woocommerce/includes/class-wc-api.php
. Error message:?Uncaught Error: Class "WC_Legacy_API" not found in /home1/dsvidtyp/dpakola.com/wp-content/plugins/woocommerce/includes/class-wc-api.php:19 Stack trace: #0 /home1/dsvidtyp/dpakola.com/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(54): include_once() #1 /home1/dsvidtyp/dpakola.com/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(98): WC_Autoloader->load_file('/home1/dsvidtyp...') #2 [internal function]: WC_Autoloader->autoload('wc_api') #3 /home1/dsvidtyp/dpakola.com/wp-content/plugins/woocommerce/src/Internal/Utilities/LegacyRestApiStub.php(61): class_exists('WC_API') #4 [internal function]: Automattic\WooCommerce\Internal\Utilities\LegacyRestApiStub::parse_legacy_rest_api_request(Object(WP)) #5 /home1/dsvidtyp/dpakola.com/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(178): call_user_func_array(Array, Array) #6 /home1/dsvidtyp/dpakola.com/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Utilities\LegacyRestApiStub::__callStatic('parse_legacy_re...', Array) #7 /home1/dsvidtyp/dpakola.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /home1/dsvidtyp/dpakola.com/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #9 /home1/dsvidtyp/dpakola.com/wp-includes/class-wp.php(418): do_action_ref_array('parse_request', Array) #10 /home1/dsvidtyp/dpakola.com/wp-includes/class-wp.php(813): WP->parse_request('') #11 /home1/dsvidtyp/dpakola.com/wp-includes/functions.php(1336): WP->main('') #12 /home1/dsvidtyp/dpakola.com/wp-blog-header.php(16): wp() #13 /home1/dsvidtyp/dpakola.com/index.php(17): require('/home1/dsvidtyp...') #14 {main} thrown
Kindly help. It will be very helpful for me. I am stuck right now…!
- You must be logged in to reply to this topic.