Fatal errors
-
I’m seeing some sporadic fatal errors when quantities are updated:
[26-Feb-2019 01:34:03 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_tax_class() on null in /home/s1/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:230
Stack trace:
#0 /home/s1/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(637): WC_Cart_Totals->get_items_from_cart()
#1 /home/s1/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(140): WC_Cart_Totals->calculate_item_totals()
#2 /home/s1/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(131): WC_Cart_Totals->calculate()
#3 /home/s1/html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1210): WC_Cart_Totals->__construct(Object(WC_Cart))
#4 /home/s1/html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1179): WC_Cart->calculate_totals()
#5 /home/s1/html/wp-content/plugins/woocommerce-side-cart-premium/public/class-xoo-wsc-cart-data.php(140): WC_Cart->set_quantity(‘f1ce35565a1e7cc…’, ‘1’)
#6 /home/s1/html/wp-includes/class-wp-hook.php(286): xoo_wsc_Cart_Data->update_cart_ajax(”)
#7 in /home/s1/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 230
- The topic ‘Fatal errors’ is closed to new replies.