Forums / Basic Configuration / max() error and quantity (qty) not updating

max() error and quantity (qty) not updating

Locked

Views: 620

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
3 Feb 2010, 12:59 AM
#1
nubbie avatar

nubbie

New Zenner

Join Date:
Feb 2010
Posts:
1
Plugin Contributions:
0

max() error and quantity (qty) not updating

PHP Warning:  max() [<a href='function.max'>function.max</a>]: Array must contain at least one element in 

I get that error in the logs and also am not able to update the quantity once in the shopping cart. It looks like the $_SESSION[new_products_id_in_cart] is not being passed correctly. I imagine that zen is trying to iterate through the array but since its empty I am getting the error above when I try to update the quantity or add to cart.

Currently showing as:
[new_products_id_in_cart] => 224

But should show as:
[new_products_id_in_cart] => 224{57}

I am new to Zen and have looked through all of the posts as best as I could prior to posting. Thanks in advance for you assistance.

~Nubbie :frusty: