Critical error out of nowhere

[ad_1]

My woocommerce shop has been running smoothly for 6 months and suddenly I’m suddenly getting a critical error.

I already tried deactivating Woocommerce and a bunch of other plugins, as well as switching themes, but nothing works. And of course made sure everything is updated. See error details below

Any help would be super appreciated!!

Error Details
=============
An error of type E\_ERROR was caused in line 19 of the file /home/fcfaedaf/[vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-api.php](http://vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-api.php). Error message: Uncaught Error: Class ‘WC\_Legacy\_API’ not found in /home/fcfaedaf/[vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-api.php:19](http://vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-api.php:19)
Stack trace:
#0 /home/fcfaedaf/[vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(54)](http://vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(54)): include\_once()
#1 /home/fcfaedaf/[vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(98)](http://vrworld.cy/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(98)): WC\_Autoloader->load\_file(‘/home/fcfaedaf/…’)
#2 \[internal function\]: WC\_Autoloader->autoload(‘wc\_api’)
#3 \[internal function\]: spl\_autoload\_call(‘WC\_API’)
#4 /home/fcfaedaf/[vrworld.cy/wp-content/plugins/woocommerce/src/Internal/Utilities/LegacyRestApiStub.php(61)](http://vrworld.cy/wp-content/plugins/woocommerce/src/Internal/Utilities/LegacyRestApiStub.php(61)): class\_exists(‘WC\_API’)
#5 \[internal function\]: Automattic\\WooCommerce\\Internal\\Utilities\\LegacyRestApiStub::parse\_legacy\_rest\_api\_request(Object(WP))
#6 /home/fcfaedaf/[vrworld.cy/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(178)](http://vrworld.cy/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(178)): call\_user\_func\_array(Array, Array)
#7 /home/fcfaedaf/[vrworld.cy/wp-includes/class-wp-hook.php(324)](http://vrworld.cy/wp-includes/class-wp-hook.php(324)): Automattic\\WooCommerce\\Internal

[ad_2]
2 Comments
  1. If you have backups, you should restore the site to the point before Woo was updated.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer