I attempted to create some Daily content, and after saving my node, I got the following errors:

* warning: Invalid argument supplied for foreach() in /home/myusername/mydomain.com/sites/all/modules/cck/content.module on line 1054.
* warning: Invalid argument supplied for foreach() in /home/myusername/mydomain.com/sites/all/modules/cck/content.module on line 1094.
* warning: Invalid argument supplied for foreach() in /home/myusername/mydomain.com/sites/all/modules/cck/content.module on line 347.

I originally posted this in the CCK Issue Queue and after yched investigated it, she/he determined it needed to be reported here.

Let me know if there is anything else I can provide.

Comments

ekinnee’s picture

Seeing the same thing here.

Frodo Looijaard’s picture

Status: Active » Postponed (maintainer needs more info)

I fixed at least one occurrence: the scenario where you added a daily container but there were no nodes yet with daily content which had the taxonomy term the container was defined with.

Please let me know whether this was your scenario or whether there are more surprised lurking within.

If you want to test this, just grab the latest CVS in either HEAD or DRUPAL-6--1.

Thanks,
  Frodo

kriskd’s picture

If you want to test this, just grab the latest CVS in either HEAD or DRUPAL-6--1.

In view all releases HEAD has a last update date of 2/20/08. Is this the correct version you are directing us to?

Frodo Looijaard’s picture

Yes it is. There are two later updates. Really.
Thanks,
  Frodo

DominatorMaster’s picture

i've the same problem too, and.. if i disable the module my site goes blank, i had to reove the moule in order to be able to see my site again :(

Frodo Looijaard’s picture

@DominatorMaster: did you use CVS or 6.x-1.0?

DominatorMaster’s picture

sorry for the large delay on my reply but yes, i was using the 6.x-1.0

Frodo Looijaard’s picture

Assigned: Unassigned » Frodo Looijaard
Status: Postponed (maintainer needs more info) » Fixed

Probably fixed in CVS, then.

I'll try to release a 6.x-1.1 real soon now.

  Frodo

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.