scenario:
php version 5.x
drupal 6.2
os: centos 4.x
apache 2x
mysql 4.x
site: bignaija.com

before installation of cck, frontpage has "node/2" promoted to it.
"node/1" gives 404 error

after installing cck module(s) i get the following error only on the home page:

warning: Invalid argument supplied for foreach() in /home/bignaija/public_html/sites/all/modules/cck/content.module on line 1096. 
warning: Invalid argument supplied for foreach() in /home/bignaija/public_html/sites/all/modules/cck/content.module on line 1136. 
warning: Invalid argument supplied for foreach() in /home/bignaija/public_html/sites/all/modules/cck/content.module on line 353. 
warning: Invalid argument supplied for foreach() in /home/bignaija/public_html/sites/all/modules/cck/modules/content_permissions/content_permissions.module on line 34. 
warning: Invalid argument supplied for foreach() in /home/bignaija/public_html/sites/all/modules/cck/content.module on line 1136. 

i removed node/2 from frontpage but problem persists.
please help now. thank you

Comments

tcee’s picture

I also get a similar error while trying to export content type:

warning: Invalid argument supplied for foreach() in /home/bignaija/public_html/sites/all/modules/cck/modules/content_copy/content_copy.module on line 191.

dmitrig01’s picture

Project: Drupal core » Content Construction Kit (CCK)
Version: 6.2 » 6.x-1.0-alpha
Component: other » content.module

This is not a bug with drupal.

yched’s picture

Status: Active » Closed (duplicate)