Invalid Argument Issue
toddgeist - June 13, 2008 - 14:05
| Project: | Content Construction Kit (CCK) |
| Version: | 6.x-2.0-beta |
| Component: | General |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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.

#1
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... ?
#2
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
#3
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