Hello,

I installed the CCK module and all was working great, and while I was making changed to a different module (jcarousel), I started getting the following error:

warning: Invalid argument supplied for foreach() in /home/internat/public_html/test/modules/cck/content.module on line 1284.

I haven't made any changes to the CCK module so I'm a bit perplexed as to the cause of this issue and cannot seem to figure out the cause of it. Any help would be greatly appreciated.

Thanks

Comments

Steel Rat’s picture

I'm getting similar errors after an upgrade from Drupal 5.x to 6.20.

I've flushed all caches, even went into the db and insured that cache_content returned zero rows.

My errors are:

warning: Invalid argument supplied for foreach() in /home/rpgmap/public_html/sites/all/modules/cck/includes/panels/content_types/content_field.inc on line 31.

warning: Invalid argument supplied for foreach() in /home/rpgmap/public_html/sites/all/modules/cck/modules/userreference/userreference.module on line 863.

warning: Invalid argument supplied for foreach() in /home/rpgmap/public_html/sites/all/modules/cck/modules/userreference/userreference.module on line 863.
OldCode101’s picture

I am seeing the same issue with the following error:

warning: Invalid argument supplied for foreach() in /disk/space/www/html/sites/all/modules/cck/modules/userreference/userreference.module on line 828

apaderno’s picture

Version: 6.x-2.9 » 6.x-2.x-dev
Category: Task » Bug report
Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -CCK, -warning: Invalid argument supplied for foreach() in

I am closing this issue, since it's for a Drupal version no longer supported.