warning: Variable passed to each() is not an array or object

Fiasst - October 4, 2007 - 18:40
Project:e-Commerce
Version:5.x-4.0-alpha4
Component:subproducts
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

Aaron-Hawkins - October 13, 2007 - 22:14
Category:support request» bug report

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

brmassa - October 15, 2007 - 08:23
Status:active» fixed

Guys,

i think i fixed on eC4 CVS

regards,

massa

#3

Anonymous - October 29, 2007 - 10:21
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.