Fatal error: Uncaught Error: Class ‘WC_Data’ not found in
-
Newbie here!
I did a series of stupid things and now I’m getting a fatal error. I tried to replace a cart page by renaming it cart-2. Even though I create and configured a cart page, whenever I tried to test the page it always went back cart-2. After trying to clear cache, etc. I deleted WooCommerce. When I attempted to reinstall, I got the following error. I have no idea what to do next. Any help much appreciated.
Fatal error: Uncaught Error: Class ‘WC_Data’ not found in /home/customer/www/radezyne.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php:15 Stack trace: #0 /home/customer/www/radezyne.com/public_html/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php(87): require() #1 [internal function]: Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3cjetpack\PHP_Autoloader::load_class(‘Automattic\\WooC…’) #2 [internal function]: spl_autoload_call(‘Automattic\\WooC…’) #3 /home/customer/www/radezyne.com/public_html/wp-content/plugins/optinmonster/OMAPI/WooCommerce.php(542): class_exists(‘Automattic\\WooC…’) #4 /home/customer/www/radezyne.com/public_html/wp-includes/class-wp-hook.php(292): OMAPI_WooCommerce->maybe_store_note(”) #5 /home/customer/www/radezyne.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #6 /home/customer/www/radezyne.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #7 / in /home/customer/www/radezyne.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php on line 15
The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Uncaught Error: Class ‘WC_Data’ not found in’ is closed to new replies.