• Resolved kenedyt

    (@kenedyt)


    Hi,I am Getting this issues again and again with the class-wc-data-store.php, class-wc-customer.php, etc.

    This is my log:

    Type E_ERROR line 96 on archive /home/marianazambrano/public_html/academia/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php. Mensaje de error: Uncaught Error: Call to a member function get() on null in /home/marianazambrano/public_html/academia/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php:96
    Stack trace:
    #0 /home/marianazambrano/public_html/academia/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer))
    #1 /home/marianazambrano/public_html/academia/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer))
    #2 /home/marianazambrano/public_html/academia/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1218): WC_Customer->__construct(1, true)
    #3 /home/marianazambrano/public_html/academia/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(209): WC_Checkout->get_value(‘billing_country’)
    #4 /home/marianazambrano/public_html/academia/wp-content/plugins/code-snippets/php/snippet-ops.php(446) : eval()’d code(38): WC_Checkout->get_checkout_fields()
    #5 /home/marianazam

    I am getting this errros with every subsecuent update on Wocommerce and they are not gone, I am using the last version WooCommerce 4.7.0

    But this is not getting better, please I am desperate for a fix on this. I need to rely on wordpress for my business, will this have a fix soon?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    The stack trace in that error log seems to point to one of your custom snippets: plugins/code-snippets/php/snippet-ops.php

    Are you seeing the same thing after disabling that custom snippet?

    Thread Starter kenedyt

    (@kenedyt)

    Ok, I will check, but besides the snippet-ops.php what about class-wc-checkout

    IS that the same issue caused just by the snippet?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Type E Error on class-wc – FATAL ERROR’ is closed to new replies.