hi,
I'm trying to add number_decimal or text field in form of the select list. I'm click 'Add field' link, fill the form of the field and then press 'Save' button. Then, when module redirects me to this content-type fields list, I see warning at top of the screen:
warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in D:\portal\drupal\www\sites\all\modules\cck\optionwidgets.module on line 318.
Field added and saved, but this warning are annoying. And it appear every time when I'm adding select list.
I have clean install of the drupal 6.1 without any modules - except cck 6.x-1.x-dev
Comments
Comment #1
Fayna commentedI'm having this problem too when adding a text select list field. :(
Comment #2
g76 commentedsame here with integer select list.
Comment #3
mrtoner commentedI notice this as well with text fields. It doesn't appear to cause any problems, though. An additional consequence (for me) is that the horizontal list of fields at the top of the settings page for the particular Content Type will have this field listed with the machine-readable name instead of the label. That quirk tends to disappear after a short period of time.
Comment #4
coltraneI think this is a duplicate of http://drupal.org/node/253038 though that issue was created after this it has a patch