When visiting admin/reports/fields I'm receiving these notices:
Notice: Undefined index: comment_node_blog in _field_ui_bundle_admin_path() (line 325 of /Users/USERNAME/Sites/SITENAME/modules/field_ui/field_ui.module).
Notice: Undefined index: comment_node_blog in field_ui_fields_list() (line 35 of /Users/USERNAME/Sites/SITENAME/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: blog in _field_ui_bundle_admin_path() (line 325 of /Users/USERNAME/Sites/SITENAME/modules/field_ui/field_ui.module).
Notice: Undefined index: blog in field_ui_fields_list() (line 35 of /Users/USERNAME/Sites/SITENAME/modules/field_ui/field_ui.admin.inc).
UPDATE: I get this error in 7.14, not tested in the DEV (I forgot to adjust this field when posting this report...)
Comments
Comment #1
bartvdputte commentedComment #2
hejazee commentedI have the same problem in Drupal 7.14
Maybe it's related to some damaged structures in database
Any idea?
Comment #3
hejazee commentedRelated: http://drupal.org/node/1351506
Comment #4
alan d. commentedGo as far to say this is a duplicate of that one. Assigned to field system as this is due to left overs in the database tables, reason / cause is unknown
Comment #5
kmkallen commentedSomeone suggested this was because the "blog" module was disabled. I re enabled the module and the error alert disappeared.
Comment #6
sunchaser commentedSame here ...
Disabled Blog module
Created my own "Blog" content type and boom : error appeared.
I now removed "Blog" content type and created "MyBlog" content type instead, to not interfear with the default Blog content type
Comment #7
corbin commentedi have similar messages after an upgrade D6/D7 :
Notice : Undefined index: comment_node_image in _field_ui_bundle_admin_path() (ligne 325 dans /***/www/modules/field_ui/field_ui.module).
Notice : Undefined index: comment_node_image in field_ui_fields_list() (ligne 35 dans /***/www/modules/field_ui/field_ui.admin.inc).
Notice : Undefined index: image in _field_ui_bundle_admin_path() (ligne 325 dans /***/www/modules/field_ui/field_ui.module).
Notice : Undefined index: image in field_ui_fields_list() (ligne 35 dans /***/www/modules/field_ui/field_ui.admin.inc).
as the function in modules/field_ui/field_ui.module is
"function _field_ui_bundle_admin_path($entity_type, $bundle_name)"
, is it a problem of migration from $***_type to $entity_type ?
ANNEXE : i'm using two fields image : field_image and field_imagefield;
the last one comes from D6.
i wonder if these messages appeared when i try to :
- include field_image with alt and title in a view
- modify field_imagefield activating alt and title (disactivate don't suppress messages) or when i register it even without changing parameters.
about comment : former comments are in following tables :
. content_node_field_instance
. field_config_instance
. locales_source
. locales_target
their modification are made in :
. field_config_instance
. locales_source
no change on the two other
Comment #8
mgiffordGetting these errors in eng/admin/reports/fields
Notice: Undefined index: blog in _field_ui_bundle_admin_path() (line 325 of /DRUPAL7/modules/field_ui/field_ui.module).
Notice: Undefined index: blog in field_ui_fields_list() (line 35 of /DRUPAL7/modules/field_ui/field_ui.admin.inc).
This was repeated 13X on the page.
Comment #8.0
mgiffordupdated version
Comment #9
DrCord commentedI was able to resolve these messages by going directly into the database in table drupal_field_config_instance and removing the fields that should not be there, they were installed by a module and left when it was uninstalled. You can match the error "undefined index" to the column "bundle" to find the rows to delete and then manually deleted them. I used this query (change placeholder) to find them:
SELECT * FROM cjpDrupal.drupal_field_config_instance where bundle = "<undefinedIndexBundle>";Comment #10
alan d. commentedComment #11
t.a. barnhart commentedi had the same error. went into the db & removed the table for multifield, which should have been gone when i got rid of the module. so far, seems to have worked.
Comment #12
mskicker commentedactive devel
past this in line 335 and see where is problem
if(!isset($bundles[$bundle_name])){
dpm($entity_type);
}
and fix it in config table manually