• Dear Support,

    I Just updated my Woocommerce plugin and got my website down!
    I followed steps to debug the issue but I don’t understand the issue.

    my website is showing a white page with:

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.


    Steps I took:
    1- deactivated woocommerce and reactivated it
    2- deactivated all plugins
    3- enabled wp-debug
    4- found this in the debug log:

    [10-Mar-2020 23:57:32 UTC] PHP Fatal error: Uncaught Exception: ???? ???????? ??? ????. in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:107
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(139): WC_Data_Store->__construct(‘admin’)
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-admin/src/Notes/WC_Admin_Notes.php(121): WC_Data_Store::load(‘admin-note’)
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-admin/src/Notes/WC_Admin_Notes_Deactivate_Plugin.php(59): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes::delete_notes_with_name(‘wc-admin-deacti…’)
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Package.php(60): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes_Deactivate_Plugin::delete_note()
    #4 [internal function]: Automattic\WooCommerce\Admin\Composer\Package::init()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plug in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-data-store.php on line 107

    Please help ASAP as my store is been down…

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter m2avip

    (@m2avip)

    also after disabling theme and all plugins including woocommerce, I get this in the debug log:

    [11-Mar-2020 05:07:06 UTC] PHP Fatal error: require_once(): Failed opening required ‘/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/libraries/class-emogrifier.php’ (include_path=’.:/opt/bitnami/php/lib/php’) in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-woocommerce-gift-cards.php on line 107

    Also me.
    I do not understand nothing about coding.
    But, I commented out the entire 107 line (/* 107 line */), and the site came back to life.
    I don’t know how to solve it, but I know it has to do with WooCommerce update.

    Hello Support!

    Subsite of multisite Error after Woocommerce update 03/10.

    Errors:
    Fatal error: Uncaught Exception: Invalid data store. in /home/kunde/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:107 Stack trace: #0 /home/kunde/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(139): WC_Data_Store->__construct(‘admin’) #1 /home/kunde/public_html/wp/wp-content/plugins/woocommerce-admin/src/Notes/WC_Admin_Notes.php(121): WC_Data_Store::load(‘admin-note’) #2 /home/kunde/public_html/wp/wp-content/plugins/woocommerce-admin/src/Notes/WC_Admin_Notes_Deactivate_Plugin.php(59): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes::delete_notes_with_name(‘wc-admin-deacti…’) #3 /home/kunde/public_html/wp/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Package.php(60): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes_Deactivate_Plugin::delete_note() #4 [internal function]: Automattic\WooCommerce\Admin\Composer\Package::init() #5 /home/kunde/public_html/wp/wp-content/plugins/woocommerce/src/Packages.php(72): call_user in /home/kunde/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-data-store.php on line 107

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Notice: Undefined property: wpdb::$actionscheduler_actions in /home/kunde/public_html/wp/wp-includes/wp-db.php on line 659

    Notice: Undefined property: wpdb::$actionscheduler_actions in /home/kunde/public_html/wp/wp-includes/wp-db.php on line 659

    Notice: Undefined property: wpdb::$actionscheduler_actions in /home/kunde/public_html/wp/wp-includes/wp-db.php on line 659

    Notice: Undefined property: wpdb::$actionscheduler_actions in /home/kunde/public_html/wp/wp-includes/wp-db.php on line 659

    Notice: Undefined property: wpdb::$actionscheduler_groups in /home/kunde/public_html/wp/wp-includes/wp-db.php on line 659

    Notice: Undefined property: wpdb::$actionscheduler_groups in /home/kunde/public_html/wp/wp-includes/wp-db.php on line 659

    Notice: Undefined property: wpdb::$actionscheduler_actions in /home/kunde/public_html/wp/wp-includes/wp-db.php on line 659

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Incorrect table name ” in /home/kunde/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/kunde/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(225): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/kunde/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/kunde/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /home/kunde/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(30): ActionSch in /home/kunde/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    ——————————
    Greetings Deexperte

    Plugin Contributor Peter Fabian

    (@peterfabian1000)

    Hi @m2avip , thanks for reporting and apologies for the troubles!

    Some of the problems seem to come from a plugin yith-woocommerce-gift-cards. Maybe it needs to be updated to be compatible with the new WooCommerce version.

    The other problem seems to be related to an existing problem report and you can follow the progress here: https://github.com/woocommerce/woocommerce-admin/issues/3869, we’re working on a fix.

    @deexperte, it seems you are experiencing also different type of errors, are you using Follow up Emails extension by any chance? We saw this type of error connected to the extension. Please try to troubleshoot by disabling all other plugins.

    Hello @deexperte and @m2avip,

    Are your stores running in a WordPress Multisite?

    If so, do you have WooCommerce network activated, or individually activated on each subsite?

    Thank you!

    Hello @jeffstieler

    Yes Multisite!
    Network wide activated.

    Problem only with one subsite (en).

    For the moment I have done a workaround:

    Commented out the line: /home/kunde/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-data-store.php on line 107.

    The subsite(en) get back to work.

    Greetings
    Deexperte

    Hello @peterfabian1000,

    no I dont use Follow up Emails extension.

    Thank you for giving attention.

    Greetings
    Deexperte

    Hi @deexperte,

    I’m working on a fix for the issue now. In the meantime – if you don’t mind WooCommerce Admin being active on all of your sites, network activating it should alleviate the PHP Fatals for now.

    Hi @deexperte, thx for your communication.

    Greetings
    Deexperte

    Thread Starter m2avip

    (@m2avip)

    Thanks all for participating in this.

    Yes it’s a Multisite bitnami setup, Admin plugin was only active on one site.

    Deactivating all plugins including Admin and Woocommerce and literally all site plugins with switching to the default theme and Site kept being down and I couldn’t access admin dashboard for that site! The only option left was to activate again but this time network active for the woocommerce and admin plugins with No luck, site still down and showing the above fatal errors.

    I decided to restore a backup I had and sites went back up but i’m now stuck with 1500 images deattached from its products! I can’t seem to find a help on that anywhere!

    Thats my update and still looking for help to solve the deattached images.

    https://store.techgigz.com

    Regards

    @m2avip
    Just an idea: check database entries.

    Greetings
    Deexperte

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘ASAP// PHP Fatal error after WooCommerce update’ is closed to new replies.