Fatal error when adding products to cart

This topic has 2 replies, 2 voices, and was last updated 7 years, 3 months ago ago by Amzy Leel

  • Avatar: kim_pear
    kim_pear
    Participant
    August 1, 2017 at 06:59

    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

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: amzy
    Amzy Leel
    Participant
    August 1, 2017 at 07:28

    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

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.