Critical Error When Editing Customer Profile

[ad_1]

Hello,

I am receiving a critical WooCommerce error any time I try to save new information to a customer’s profile. For example, trying to change their email address or the name tied to their account.

I went through Troubleshooting on my staging site and found this error happens even if every plugin but WooCommerce is disabled. It also happens with multiple themes (Astra & Divi).

Here is an example of the error from my Fatal Error Logs.

2023-05-01T04:38:43+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home2/touchofmink/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php:750
Stack trace:
#0 /home2/touchofmink/public_html/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore::update_registered_customer(268038)
#1 /home2/touchofmink/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home2/touchofmink/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home2/touchofmink/public_html/wp-includes/user.php(2461): do_action('profile_update', 268038, Object(WP_User), Array)
#4 /home2/touchofmink/public_html/wp-includes/user.php(2582): wp_insert_user(Array)
#5 /home2/touchofmink/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store.php(193): wp_update_user(Array)
#6 /home2/touchofmink/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196): WC_Customer_Data_Sto in /home2/touchofmink/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php on line 750

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer