Error upon Activating WooCommerce Plugin
-
HI,
I am having issues activating my WooCommerce plugin. When I hit activate I am sent to a page that reads “There has been a critical error on this website. Please check your site admin email inbox for instructions.” The information I received in my email is attached below.I would greatly appreciate the steps to take to correct this.
Thank you!
AveryWordPress version 5.7
Current theme: Astra (version 3.1.2)
Current plugin: WooCommerce (version 5.1.0)
PHP version 7.3.27Error Details
=============
An error of type E_ERROR was caused in line 15 of the file /home3/averysav/public_html/arrangedbyavery/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php. Error message: Uncaught Error: Class ‘WC_Data’ not found in /home3/averysav/public_html/arrangedbyavery/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php:15
Stack trace:
#0 /home3/averysav/public_html/arrangedbyavery/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 /home3/averysav/public_html/arrangedbyavery/wp-content/plugins/optinmonster/OMAPI/WooCommerce.php(542): class_exists(‘Automattic\\WooC…’)
#4 /home3/averysav/public_html/arrangedbyavery/wp-includes/class-wp-hook.php(292): OMAPI_WooCommerce->maybe_store_note(”)
#5 /home3/averysav/public_html/arrangedbyavery/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#6 /home3/averysav/public_html/arrangedbyavery/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#7 /The page I need help with: [log in to see the link]
- The topic ‘Error upon Activating WooCommerce Plugin’ is closed to new replies.