warning: Variable passed to each() is not an array or object
| Project: | e-Commerce |
| Version: | 5.x-4.0-alpha4 |
| Component: | subproducts |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Hello,
I'm running Drupal 5.2, PHP 5.0, Apache, MySQL 4.1.16 .
I get the following error:
warning: Variable passed to each() is not an array or object in /var/www/vhosts/realworksmedia.com/subdomains/dev/httpdocs/jm/modules/ecommerce/subproducts/subproducts.module on line 739.
It appears when i select add 'Parent Product' as an attribute to a shipping product.
I also get:
warning: Variable passed to each() is not an array or object in /var/www/vhosts/realworksmedia.com/subdomains/dev/httpdocs/jm/modules/ecommerce/subproducts/subproducts.module on line 157.
when adding 'Product Attribute - Handles how anonymous ...' to shipping product.
Other product types dont have this error when product attributes are added to them, however they dont have the attributes attached to their nodes. Nothing happens at all.
The shipping product types display the title 'Attributes' on the nodes, but no attributes are listed and i get the above errors.
Is there anything i should be doing, is this a bug..?
The faults can be seen here: http://dev.realworksmedia.com/jm/
Let me know if you need anymore informaion.
Many thanks!

#1
I am getting this same error on any content type that I attempt set up with subproducts or variations. This is definitely a bug.
#2
Guys,
i think i fixed on eC4 CVS
regards,
massa
#3