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
Comment #1
tcee commentedI 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.Comment #2
dmitrig01 commentedThis is not a bug with drupal.
Comment #3
yched commentedhttp://drupal.org/node/237585