• Resolved zbloomz

    (@zbloomz)


    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.27

    Error 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Before you start

    1. First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like?Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
    2. Second, I would suggest installing a plugin called?Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.

    I hope that helps!

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @zbloomz,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with critical error when activating plugin’ is closed to new replies.