If a module provides content types, then the module is disabled, notices are shown on /admin/reports/fields. This is reproducible in core by enabling comment and poll, then disabling poll again.
* Notice: Undefined index: comment_node_poll in _field_ui_bundle_admin_path() (line 310 of modules/field_ui/field_ui.module).
* Notice: Undefined index: comment_node_poll in field_ui_fields_list() (line 25 of modules/field_ui/field_ui.admin.inc).
Also reproducible in contrib with Ubercart's uc_product_kit module:
* Notice: Undefined index: comment_node_product_kit in _field_ui_bundle_admin_path() (line 310 of modules/field_ui/field_ui.module).
* Notice: Undefined index: comment_node_product_kit in field_ui_fields_list() (line 25 of modules/field_ui/field_ui.admin.inc).
* Notice: Undefined index: product_kit in _field_ui_bundle_admin_path() (line 310 of modules/field_ui/field_ui.module).
* Notice: Undefined index: product_kit in field_ui_fields_list() (line 25 of modules/field_ui/field_ui.admin.inc).
* Notice: Undefined index: product_kit in _field_ui_bundle_admin_path() (line 310 of modules/field_ui/field_ui.module).
* Notice: Undefined index: product_kit in field_ui_fields_list() (line 25 of modules/field_ui/field_ui.admin.inc).
Other examples at http://drupal.org/node/686938#comment-4000872
Comments
Comment #1
pjcdawkins CreditAttribution: pjcdawkins commentedThis affects me too: notices are displayed on /admin/reports/fields, having enabled and subsequently disabled UC Product Kit. Uninstalling the module makes no difference.
Comment #2
MGParisi CreditAttribution: MGParisi commentedI think mine was caused by enabling forums then disabling them. (I did do an uninstall).
Comment #3
Kiphaas7 CreditAttribution: Kiphaas7 commentedSub, and getting the same errors as longwave in #1. Also uninstalled.
Comment #4
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedGetting the same in Drupal 7.4. My case is an installation profile in a multi-site installation. The fields are parts of modules that have never been enabled in this site, but are enabled on other sites in the installation. How can this happen? The modules have never been enabled, but Drupal tries to get the fields...
This is the notice I get when I go to admin/reports/fields:
When I flush all caches, this error is displayed after the flush:
This is a field used by a module that has never been enabled on this site, but is enabled on another site in the multi-site installation.
Comment #5
catchThis is a duplicate of #1079966: Notice: Undefined index: [custom_content_type_machine_name] in _field_ui_bundle_admin_path(), line 309 in field_ui.module , please help to test the patch there.