I get the following error when I try to save a cck node:

warning: Invalid argument supplied for foreach() in /home/..../public_html/rcc/47test/modules/contemplate/contemplate.module(409) : eval()'d code on line 4.

Comments

jivyb’s picture

Apparently contemplate creates the template when the cck content type is created. It didn't like that I went back and deleted some fields in the cck type then used the template. I think that's what produced the error.

jjeff’s picture

Status: Active » Postponed

Yes. I haven't figured out a way to automatically update the templates when the CCK fields get updated.

But if you "reset" a template, then it actually removes it and you're back to using the default CCK output.

jrglasgow’s picture

Status: Postponed » Postponed (maintainer needs more info)

is this still a problem?

uriah_hittite’s picture

I am getting the same error.

Has anyone found a solution to this problem?

jrglasgow’s picture

If the problem only happens when you have a template created, then delete a CCK field, I would suggest deleting the template, delete the CCK field, then recreate the template. You can always copy out the contents of the template text areas before you delete the template.