After uninstalling the dev version of ubercart some of the fields weren't properly removed. It caused these errors on the field report admin page (admin/reports/fields/permissions).

Notice: Undefined index: comment_node_product in field_permissions_overview() (line 357 of /home3/generaq7/public_html/cloudtutr/sites/all/modules/field_permissions/field_permissions.admin.inc).
Notice: Undefined index: comment_node_uc_recurring_subscription in field_permissions_overview() (line 357 of /home3/generaq7/public_html/cloudtutr/sites/all/modules/field_permissions/field_permissions.admin.inc).
Notice: Undefined index: product in field_permissions_overview() (line 357 of /home3/generaq7/public_html/cloudtutr/sites/all/modules/field_permissions/field_permissions.admin.inc).

The code below added at line 357 will fix (patch) the problem but the error is in drupal 7's core as it seems the fields are not properly removed.

if (isset($bundles[$obj_type][$bundle]['label']))

Comments

Juan C’s picture

Thanks onegenius.

One of error similar like yours is fixed with that patch on #1.

But I still have one more error showing, just in case you or someone know how to fix that as well:

Notice: Undefined index: comment_node_panel in _field_ui_bundle_admin_path() (line 325 of /var/www/vhosts/example.com/httpdocs/modules/field_ui/field_ui.module).

Cheers

Taxoman’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev

Can someone confirm if this is still a problem after core 7.15+?
(and if that code change is committed to -dev or not?)

Taxoman’s picture

Issue summary: View changes

update the post

mariacha1’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)