Hi all,
I built a drupal site a while ago and have come back to do some maintenance on it. I have a Content type named Event, which I've added a CCK Date field to, which provides date from and date to fields to the Event.
When I create a new Event, fill in the form details, and submit the form, I get the following error:
warning: invalid argument supplied for foreach() in /wwwtest/cha/public_html/module/cck/content.module on line 1016.
After the warning, I get the message "Event ___ has been created." The event shows up in views, etc, but it doesn't have any date info associated with it. Editing the event and going to the date fields, the date fields are blank and setting them again results in the same thing-- same error message, same Event with no date information.
How can I troubleshoot this? I believe that this was working fine last time I logged in 4 months ago . . . Any help is greatly appreciated.
Comments
=-=
check the versions of modules in use and ensure you are using the most up to date versions of all modules involved.
Thanks!
Thanks, updating CCK and Date modules to the latest versions resolved this.