Hey there,

I have a content type called "job" and am using cck to create specific fields for the job.

When I am on the "admin/content/types/job/display" page, I recieve this error:
warning: Invalid argument supplied for foreach() in /drupal/modules/cck/content_admin.inc on line 409.

I have not been able to figure out what the problem is, nor what the effects of this error are. The only post I see that sounds like it's similar is here: http://drupal.org/node/173796, and has no replies.

Does anyone have any ideas that might help me figure this out?

Let me know, thanks a lot!
mosa

Comments

mooffie’s picture

Make sure you use the latest modules, and don't forget to visit 'update.php'. (I don't know if this will fix your problem, but it's important.)

The only post I see that sounds like it's similar is [...]

No, "Invalid argument" errors are quite general and these aren't related. (And note that it's usually useless to report errors in this manner because 'content_admin.inc' has tens or hundreds of versions and "line 409" doesn't say much. Also, you didn't say if this error always appeared there or whether it started after you did a certain thing.)