• Resolved soheiil

    (@advsoheili)


    i have error . i think when my WooCommerce update to 4.8 give this error
    and in my WooCommerce is this problem

    `Fatal error: Uncaught Error: Call to a member function get() on null in /home/customer/www/sussexcellars.com/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php:96 Stack trace: #0 /home/customer/www/sussexcellars.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/sussexcellars.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer)) #2 /home/customer/www/sussexcellars.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1227): WC_Customer->__construct(1, true) #3 /home/customer/www/sussexcellars.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(209): WC_Checkout->get_value(‘billing_country’) #4 /home/customer/www/sussexcellars.com/public_html/wp-content/themes/urna/inc/vendors/woocommerce/wc-single-functions.php(843): WC_Checkout->get_che in /home/customer/www/sussexcellars.com/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php on line 96
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Could you please send me a copy of your site’s system status report? You can find it under WooCommerce > Status in the dashboard. Click “Get system report” and then the “Copy for support” button. Once you’ve done that, paste it into your reply.

    Might be related to this bug:

    https://github.com/woocommerce/woocommerce/issues/28582

    … so I am asking for the status report to see if I can find any commonalities.

    Thanks!

    Hi @advsoheili,

    Hopefully, you were able to clear up this issue. Since it’s been a while since we last heard from you, I’m going to mark this thread resolved.

    If you still have trouble, please feel free to open up a new topic. We’d be happy to jump back in and help you out.

    Cheers!

    Hi,

    I have the same problem and so far I`m not able to resolve it. Also deactivated all the plugins and just the WooCommerce was left active and the issue still persists. This problem is obstructing me.

    @thewraith123 Please open a new thread for your issue and include your status report. You can find it under WooCommerce > Status in the dashboard. Click “Get system report” and then the “Copy for support” button. Once you’ve done that, paste it into your new thread, not here please.

    The same problem

    Fatal error: Uncaught Error: Call to a member function get() on null in /public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php:96 Stack trace:

    #0/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer))

    #1/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer))

    #2 /public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1227): WC_Customer->__construct(1, true)

    #3/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(A in /home/mundope1/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php on line 96

    I 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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘class-wc-customer-data-store-session.php on line 96’ is closed to new replies.