phd098
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] class-wc-customer-data-store-session.php on line 96I have the same problem after upgrading to wc 4.8 or 4.9 with flatsome child theme.
I did tested on twenty twenty, and the error gone. What should I do?An error of type E_ERROR was caused in line 96 of the file /home/customer/www/nelsonz2.sg-host.com/public_html/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/customer/www/nelsonz2.sg-host.com/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php:96
Stack trace:
#0 /home/customer/www/nelsonz2.sg-host.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer))
#1 /home/customer/www/nelsonz2.sg-host.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer))
#2 /home/customer/www/nelsonz2.sg-host.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1227): WC_Customer->__construct(1, true)
#3 /home/customer/www/nelsonz2.sg-host.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(209): WC_Checkout->get_value(‘billing_country’)
#4 /home/customer/www/nelsonz2.sg-host.com/public_html/wp-content/themes/flatsome-child/functions.php(58): WC_Checkout->get_checkout_f