Closed (fixed)
Project:
Ubercart Dependent Attributes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2009 at 15:08 UTC
Updated:
29 Dec 2009 at 20:10 UTC
Hey,
thanks for that module! It's working pretty good. But there seems to be a problem if you do not add any attributes to some products.
If there are no attributes available the following errors occure if you press the add to cart button:
warning: Invalid argument supplied for foreach() in ../uc_dependent_attributes/uc_dependent_attributes.module on line 140.
warning: key() [function.key]: Passed variable is not an array or object in ../uc_dependent_attributes/uc_dependent_attributes.module on line 151.
warning: array_slice() expects parameter 1 to be array, null given in ../uc_dependent_attributes/uc_dependent_attributes.module online 173
Any ideas how to fix this?
cineasta
Comments
Comment #1
jantoine commentedCineasta,
I am sorry it took me so long to get to this. I was focused on an Ubercart Ajax Attributes Calculations 6.x-2.0 release before investing to heavily into this module. That said, this issue has been fixed in the repository. Remember it can take up to 12 hours for a new dev snapshot to be released. Thanks for testing!
Cheers,
Antoine