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
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

yched - June 13, 2008 - 17:18
Status:active» active (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... ?

#2

Jeffdo - July 2, 2008 - 01:21
Status:active (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

#3

Jeffdo - July 2, 2008 - 01:44

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

 
 

Drupal is a registered trademark of Dries Buytaert.