Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2006 at 14:59 UTC
Updated:
2 Mar 2006 at 20:45 UTC
Great idea, looking forward to trying it out.
Using latest cvs of Drupal 4.7 and latest cvs of CCK. Just trying to create some text fields, no data created yet. I get the following error when adding a new text field:
warning: Invalid argument supplied for foreach() in [drupal path]\modules\cck\content.module on line 787.
Comments
Comment #1
jvandyk commentedCannot reproduce.
Please provide a sequence of events that will reproduce the error.
Comment #2
RayZ commentedI get the same error with date, text or number fields (haven't tried with others on latest version).
It appears that it does successfully create the field. I can go back and create a node of this new type with no trouble. If I continue adding field types I get this error every time, but each field is created. I have a content type that appears to be working with one field each of date, integer, decimal, short text and long text. If I go back later to "configure" the field, I can "Save field settings" without getting the error.
Comment #3
karens commentedMy steps and results were the same as RayZ. The error is generated when I create the field, although the field is created successfully. I just checked, and as he noticed, there is no error when I try to make changes to the field.
Comment #4
jvandyk commentedFixed, thanks.
Comment #5
karens commentedI downloaded the changed module and it now seems to be working correctly. Thanks!
Comment #6
(not verified) commented