This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago ago by Amzy Leel
when a customer adds a product to cart they get this error message
Fatal error: Uncaught Error: Call to a member function is_type() on null in /home//wp-content/plugins/woocommerce/includes/class-wc-cart.php:543 Stack trace: #0 /home/sitedatabase/public_html/wp-content/plugins/woocommerce-variable-stock-management/includes/class-catch-add-to-cart.php(105): WC_Cart::get_item_data(NULL, NULL) #1 /home//public_html/wp-includes/class-wp-hook.php(298): catchaddtocart->filter_woocommerce_add_to_cart_validation(true, 6486, 1, 6494, Array) #2 /home//public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(true, Array) #3 /home//public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(850): apply_filters(‘woocommerce_add…’, true, 6486, 1, 6494, Array) #4 //public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(695): WC_Form_Handler::add_to_cart_handler_variable(6486) #5 /home//public_html/wp-includes/class-wp-hook.php(298): WC_Form_Handler::add_to_cart_action(’’) #6 /home//pub in /home//public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 543
Hello,
follow your other topic please: https://www.8theme.com/topic/fatal-error-when-adding-products-to-cart/
you did not reply there for the clarification question by Olga
Tagged: fatal error, product add to cart, shopping cart, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up