Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.9
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2011 at 12:42 UTC
Updated:
17 Apr 2012 at 18:42 UTC
I just created a new content type, added a few fields (3 text, 1 File) and tried to create an item of content to test with, and I got this error message when I hit submit:
notice: Undefined index: data in content_storage() (line 1031 of sites/all/modules/cck/content.module)
The line in question seems to be looping through a list of fields - none of my fields are called data.
PHP 5.3.3, Drupal 6.22
Comments
Comment #1
vectoroc commentedThe notice was appearing on filefield fields (list and description are disabled) and has disappeared after enabling description option
the same issue few months ago #1034428: Notice: Undefined index: data in content_storage() (line 1071 of /sites/all/modules/contrib/cck/content.module).
Comment #2
reikiman commentedI'm getting a slightly different message (different line number) upon posting a new node:-
I found that this change makes the message go away -- that is, there's an existing guard test, so the change makes a slight extension to that test.