Hello,

I am getting this error

Any ideas?

Thanks Todd

* warning: Invalid argument supplied for foreach() in /home/mbs/public_html/modules/cck/content.module on line 1115.
* warning: Invalid argument supplied for foreach() in /home/mbs/public_html/modules/cck/content.module on line 1155.
* warning: Invalid argument supplied for foreach() in /home/mbs/public_html/modules/cck/modules/content_permissions/content_permissions.module on line 35.
* warning: Invalid argument supplied for foreach() in /home/mbs/public_html/modules/cck/content.module on line 1155.

Comments

yched’s picture

Status: Active » Postponed (maintainer needs more info)

You definitely need to be more specific.
When exactly do you see these errors, on which page(s), after doing what, what are the other modules enabled on your site... ?

Jeffdo’s picture

Status: Postponed (maintainer needs more info) » Active

I'm having the same experience as Divisive Cottonwood (#3) from this issue's thread in 6.x-2.0-dev.

Invalid argument supplied for foreach() in ... \cck\content.module on line 1155.

The error persists despite deleting all records and all custom content types, uninstalling CCK, then enabling the content module (6.x-2.0-beta).

Modules enabled:
- Development
- Advanced Help, Advanced Help Example

Core:
- Color
- Comment
- Database logging
- Help
- Menu
- Taxonomy
- Update status

Jeffdo’s picture

In case this helps/matters, there's still some detritus in the db related to the CCK content types I'd created:

- some variables in the Variables table
- some permissions in Perm field of the Permissions table

Cheers,

Jeff