• Resolved erotic1

    (@erotic1)


    We had several Woocommerce sites break yesterday afternoon when the automatic update dropped the new version V2.1.1. From the error I could immediately see it was Woocommerce Admin as the issue. I removed it and the site works again. Here is the error that we are getting on multiple sites:

    Fatal error: Uncaught Exception: Invalid data store. in /home/xxxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:107 Stack trace: #0 /home/xxxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(139): WC_Data_Store->__construct('admin') #1 /home/xxxxx/public_html/wp-content/plugins/woocommerce-admin/src/Notes/Notes.php(109): WC_Data_Store::load('admin-note') #2 /home/xxxxx/public_html/wp-content/plugins/woocommerce-admin/src/Notes/DeactivatePlugin.php(60): Automattic\WooCommerce\Admin\Notes\Notes::delete_notes_with_name(Array) #3 /home/xxxxx/public_html/wp-content/plugins/woocommerce-admin/src/Composer/Package.php(137): Automattic\WooCommerce\Admin\Notes\DeactivatePlugin::delete_note() #4 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(287): Automattic\WooCommerce\Admin\Composer\Package::check_outdated_wca_plugin('') #5 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->app in /home/xxxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php on line 107

    • This topic was modified 3 years, 5 months ago by erotic1.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author adrianduffell

    (@adrianduffell)

    Hi @erotic1, thanks for reporting this issue and sorry to hear it broke your sites.

    We are currently working on a fix which can be tracked via this GitHub issue:

    https://github.com/woocommerce/woocommerce-admin/issues/6530

    I will report back on this ticket once a fix is available.

    In the meantime, a possible workaround is to update WooCommerce to the latest version prior to updating the WooCommerce Admin plugin.

    Plugin Author adrianduffell

    (@adrianduffell)

    This fatal error has been addressed in the latest version, and should be available to update within the WordPress plugin screen.

    If the problem continues, please let us know.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error – Uncaught Exception on V2.1.1’ is closed to new replies.