"Fatal" error with WooCommerce

Hi there,

I’ve received this message by email three times now – do you have any insights on how to resolve this?

Howdy!

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WooCommerce.

First, visit your website (https://mothercityhop.com/) and check for any visible issues. Next, visit the page where the error was caught (https://mothercityhop.com/wp/wp-admin/edit.php?post_type=shop_order) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

https://mothercityhop.com/wp/wp-login.php?action=enter_recovery_mode&rm_token=XXXXXXXXXXXYYYYYYYYYYZZZZZZZZ [link changed]

To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

Error Details

An error of type E_ERROR was caused in line 96 of the file /home/motheuxf/public_html/wp/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php. Error message: Call to a member function get() on null

Hello @Muriel,

Thanks for writing in!

Please go to WooCommerce > Status and make sure that your PHP version and other server details meets the requirements of running the latest WordPress and WooCommerce plugin. You can check it here:

Hope this helps.

Thanks! Will do :slight_smile:

Hi again,

My hosting provider has updated the PHP version to 7.3, and the server to MariaDB version: 10.1.41. But, I just received another warning email from Wordpress, with the following error details:

=============
An error of type E_ERROR was caused in line 96 of the file /home/motheuxf/public_html/wp/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php. Error message: Uncaught Error: Call to a member function get() on null in /home/motheuxf/public_html/wp/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php:96
Stack trace:

  1. /home/motheuxf/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->rea1. d(Object(WC_Customer))
  2. /home/motheuxf/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer))
  3. /home/motheuxf/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1179): WC_Customer->__construct(1, true)
  4. /home/motheuxf/public_html/wp/wp-content/plugins/woocommerce-checkout-manager/includes/checkout-billing.php(72): WC_Checkout->get_value(‘billing_country’)
  5. /home/motheuxf/public_html/wp/wp-includes/class-wp-hook.php(288): wooccm_checkout_billing_fields(Array)
  6. /home/motheuxf/public_html/wp/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
  7. /home/motheuxf/publi

Any insights?

Hi @muriel,

Based on that error, your Woocommerce Checkout Manager is no longer working along with your installed Woocommerce. I recommend contacting the author of the checkout manager about this issue.

Thanks!

Thanks, will do

Let us know how it goes,

Cheers,

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.