I am seeing the following message in watchdog...

Invalid argument supplied for foreach() in sites/all/modules/dependent/dependent.module on line 262.

This occurs on the add page - http://www.example.com/main/node/add/reviews - where my CCK node type is reviews.

Using Drupal 5.7 with latest version of CCK.

Thanks,

Eric

CommentFileSizeAuthor
#2 review_CCK.txt7.98 KBaitala
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tamar Badichi-Levy’s picture

Thank you for your comment.

Can you please export the cck type so I will check it myself?

Ofir.

aitala’s picture

FileSize
7.98 KB

HI,

Here is the export of the CCK in a text file.

I get the message when I go to Home » Administer » Content management » Content types » Reviews

Thanks,
Eric

Tamar Badichi-Levy’s picture

Hi,
Sorry for not being around for a while. I successfully imported your content type. However, I did not manage to reproduce your watchdog warning. Can you please specify what are the dependent fields?

aitala’s picture

Hi,

Review Type / field_review_type is the the field is the 'parent' field with choices Product, Event, Online Resource, & Other . Any field with event or product in the field name is a dependent field of the obvious parent - field_event_type goes with Event, field_product_type goes with Product, etc....

Note - I did not finish setting up the content type so...

Also I have had issues using the CCK link module as well.... It always appeared on the form not matter which parent was chosen and it caused another dependent field to not appear.

Eric

Tamar Badichi-Levy’s picture

OK,

I have uploaded a new release with fixes for your issues. Now you can also choose a selection field as the parent field (I saw you have several of this type).

Best regards,
Ofir.