• Hello,
    when I add to cart a bundle product, I get a 500 error / blank page.
    When reloading, the bundled product is in the cart & everything is ok (mini cart or cart, checkout). Simple or variable products still work fine.
    The problem is only on Bundle products when adding to cart…
    I realize I have WPML activated, and the product works fine in EN, where I added the product initially, the french version is a translation.

    In debug mode I got this :
    Notice: Undefined index: data in xxx/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 690
    Fatal error: Call to a member function get_stock_managed_by_id() on null in xxx/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 691

    Any idea?
    Thanks for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Any replies from plugin author on this? We are also experiencing a bad gateway error when adding a bundle to the cart.

    We have the WooCommerce settings set to redirect to cart when a product is added and that doesn’t stop the problem either.

    Help? Please.

    Same problem, error 500 please help, any solution?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 error when adding to cart’ is closed to new replies.