This only occurs if you were unfortunate enough to name the label of your registration field on a product, "Registration", as it's hard coded to alter the extra field info without setting a label. This causes errors in the field ui for unrelated products that do not have registration fields. Just updated to the latest version of Drupal so that may be related.

Simple fix is to not name your field label "Registration".

Notice: Undefined index: label in field_ui_display_overview_form() (line 1126 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: label in field_ui_display_overview_form() (line 1130 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: label in field_ui_display_overview_form() (line 1139 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: label in field_ui_display_overview_form() (line 1158 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: label in field_ui_display_overview_form() (line 1126 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: label in field_ui_display_overview_form() (line 1130 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: label in field_ui_display_overview_form() (line 1139 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).
Notice: Undefined index: label in field_ui_display_overview_form() (line 1158 of /var/www/drupal/modules/field_ui/field_ui.admin.inc).

CommentFileSizeAuthor
#1 2243989-undefined-label-index.patch749 bytesmarcvangend
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marcvangend’s picture

Version: 7.x-2.0-beta5 » 7.x-2.x-dev
Status: Needs work » Needs review
FileSize
749 bytes

Here's a quick fix for the notice. That said, I think that the proper fix would be to make the if-statement more specific, but I don't understand the purpose of these lines of code well enough to do that.

Status: Needs review » Needs work

The last submitted patch, 1: 2243989-undefined-label-index.patch, failed testing.