Help with critical error when activating plugin
-
I need help when trying to activate the plugin I get the following message and email!
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Can you help?
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.6.2
Current theme: Neve (version 2.10.2)
Current plugin: WooCommerce (version 5.0.0)
PHP version 7.3.27Error Details
=============
An error of type E_ERROR was caused in line 15 of the file /home2/findypy8/public_html/pearlhousefarm/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php. Error message: Uncaught Error: Class ‘WC_Data’ not found in /home2/findypy8/public_html/pearlhousefarm/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php:15
Stack trace:
#0 /home2/findypy8/public_html/pearlhousefarm/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php(87): require()
#1 [internal function]: Automattic\Jetpack\Autoloader\jp1c37d41437aca3a88a6b698473c4d5c4\PHP_Autoloader::load_class(‘Automattic\\WooC…’)
#2 [internal function]: spl_autoload_call(‘Automattic\\WooC…’)
#3 /home2/findypy8/public_html/pearlhousefarm/wp-content/plugins/optinmonster/OMAPI/WooCommerce.php(542): class_exists(‘Automattic\\WooC…’)
#4 /home2/findypy8/public_html/pearlhousefarm/wp-includes/class-wp-hook.php(287): OMAPI_WooCommerce->maybe_store_note(”)
#5 /home2/findypy8/public_html/pearlhousefarm/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#6 /home2/findypy8/public_html/pearlhousefarm/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#7 /home2/fin
- The topic ‘Help with critical error when activating plugin’ is closed to new replies.