Hi,
I'm creating a custom user profile and received this error.

warning: Invalid argument supplied for foreach() in /home/twomarke/public_html/kidsrockproductions/modules/cck/fieldgroup.module on line 395.

I uninstalled all of the user profile information that I had updated and this error still showed on my front page and also on my user profile.

I disabled the fieldgroup module under CCK in my admin section and the error went away. Only problem is, I can no longer group fields, but have a rather lengthy list of uncategorized fields under my content types.

For the record, to create the custom profile I'm using:

CCK 5.x-1.5
Views 5.x-1.6 beta5
Taxonomy
Panels 5.x-2.0-alpha4
Pageroute 5.x-1.0
Token 5.x-1.7
Contemplate 5.x-1.1
Automatic Nodetitles 5.x-1.0.

I've searched all over the Drupal site, but nothing seemed to address my problem. I've run the update.php script each time I upgrade a module, but this did not remove the error.

Any ideas as to what I can do in order to use the fieldgroup.module would be greatly appreciated.

Heather

Comments

Anonymous’s picture

I've been able to replicate this as well. It happens when you try to use a CCK decimal or integer field for sorting.

spazfox’s picture

I'm having a similar problem: http://drupal.org/node/169715. Anyone have any solutions yet?

Kevee, are you referring to sorting with the views module or...?

Anonymous’s picture

This only happens when using views sorting.

spazfox’s picture

I don't think this error depends on views sorting by decimal or integer. I'm receiving this error and am not sorting by those field types (in fact, I don't think I even have any content types with decimal or integer field types).

bengtan’s picture

See http://drupal.org/node/168045 if that helps.

danielb’s picture

Status: Active » Closed (duplicate)