After upgrading from 7.8 to 7.9, I am consistently but randomly getting Notice: undefined index errors. When it happens, it happens immediately after creating a new content type and trying to add a new field. Here are examples:
Notice: Undefined index: comment_node_panel in _field_ui_bundle_admin_path() (line 320 of /modules/field_ui/field_ui.module)
Notice: Undefined index: promotion in _field_ui_bundle_admin_path() (line 320 of /modules/field_ui/field_ui.module).
Other people are having similar issues: http://drupal.org/node/1304664, http://drupal.org/node/1334522
In my experience, it has nothing to do with these posts. Clearing cache does not help. However, if I disable a module, any module, and then reenable it, this seems to fix the issue. Marked as 'major' since, once this error starts happening, I cannot add or edit any field components.
Thanks for the help!
Comments
Comment #1
xjmHi @Gastonia,
There is a good chance this issue is being caused by a bug in some contributed module. Here are some things that would help sort out the issue:
Thanks!
Comment #2
njcheng CreditAttribution: njcheng commentedJust wanted to add some related threads with reports of the same error message in hopes that it helps maintainers figure out where the real problem lies. It seems to be affecting many modules in many contexts when a content or field is deleted:
http://drupal.org/node/1304664
http://drupal.org/node/1334522
http://drupal.org/node/686938
http://drupal.org/node/1351506
http://drupal.org/node/1332872
http://drupal.org/node/1327038
Comment #3
pfrenssenClosing this as there has not been a response for a long time. If this is still relevant please reopen the issue, but first check if your problem was perhaps solved in any of the issue linked above in #2.
Comment #4
Hetta CreditAttribution: Hetta commentedPatch # 13 in this https://drupal.org/node/1351506#comment-7119128 removed the warnings for a 7.23 install.
Comment #5
Alan D. CreditAttribution: Alan D. commentedYep, #1351506: Disabling or uninstalling a node-type module (e.g. Forum), or removing a node type, results in "undefined index" notices has / had replicable steps to trigger the error and a patch.