woothemes/woocommerce — Issue #239: Bug: Cart with product qty > available stock
Author: bostondv
Created: 2011-11-20 22:21:53+00:00
State: open

Cart and checkout pages crash when increasing a products quantity already in the cart to a value above the number available in stock (if the product is set to track inventory).

PHP spits out this error:
PHP Fatal error: Call to a member function add_error() on a non-object in /wp-content/plugins/woocommerce/classes/cart.class.php on line 552, referer: http://wordpress.local/shop/