Answers.Body: <p>If the concern is that it is 'disconcerting' then for a live site it would be normal to turn Drupal "Errors and Warnings" off via admin/config/development/logging</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-14T12:20:12.117Z
Answers.Text: It's a bit more than that.  It implies to me that something went wrong in the upgrade process.  I wasn't able to find anyone else having the problem, so I'm wondering if anyone has thoughts on the cause.
Answers.UserDisplayName: Kenneth Baumann
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-14T04:56:09.743Z
Answers.LastActivityDate: 2019-01-14T04:56:09.743Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>Looks like one of your customfield extending 'Contact', 'Individual', 'Organization', 'Household' has missing machine name. The best way to check would be to run below sql query to check if there is any result</p>
  
  <pre><code>SELECT id, name, label FROM civicrm_custom_field WHERE (name = '' OR name IS NULL)
  </code></pre>
  
  <p>If you found any rows than run below query to update the name with label</p>
  
  <pre><code>UPDATE civicrm_custom_field set name = label WHERE (name = '' OR name IS NULL);
  </code></pre>
  
  <p>Cheers</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-14T23:56:30.877Z
Answers.Text: So there are 3 customfields with NULL name
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-14T23:58:33.730Z
Answers.Text: Pradeep, yes, I have about 50 of those, but they aren't fields that I added or did anything with, afaik. (|  7 | NULL | Constituent Type                  |)
Answers.UserDisplayName: Kenneth Baumann
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-14T23:58:38.950Z
Answers.Text: Updated my answer to include the fix
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T00:04:52.840Z
Answers.Text: thanks Pradeep, that's the script i was about to write.
Answers.UserDisplayName: Kenneth Baumann
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T00:13:44.130Z
Answers.Text: Cheers, Can you please mark this as answered if my solution worked for you so that it will be helpful for others if they face similar problem
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-14T21:36:50.167Z
Answers.LastActivityDate: 2019-01-14T23:58:17.990Z
Answers.LastEditDate: 2019-01-14T23:58:17.990Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I just finished the upgrade, and I'm getting an error list at the top of some panels consisting of a series of identical messages:</p>
  
  <p>Notice: Undefined index: name in CRM_Core_SelectValues::quicksearchOptions() (line 1157 of /opt/bitnami/apps/civicrm/htdocs/sites/all/modules/civicrm/CRM/Core/SelectValues.php).</p>
  
  <p>The panels appear to function normally, but it's rather disconcerting.  These only seem to appear on the first open of the panel.</p>
  
  <p>I didn't notice any error messages or weirdness doing the upgrade.  I did the db upgrade in drush.</p>
  
  <p>Thanks. </p>
  
Tags: <upgrade>
Title: CiviCRM 5.9 upgrade
ThreadText: # CiviCRM 5.9 upgrade
  
  (Asked by: username_0 on 2019-01-14)
  
  I just finished the upgrade, and I'm getting an error list at the top of some panels consisting of a series of identical messages:
  
  Notice: Undefined index: name in CRM\_Core\_SelectValues::quicksearchOptions() (line 1157 of /opt/bitnami/apps/civicrm/htdocs/sites/all/modules/civicrm/CRM/Core/SelectValues.php).
  
  The panels appear to function normally, but it's rather disconcerting. These only seem to appear on the first open of the panel.
  
  I didn't notice any error messages or weirdness doing the upgrade. I did the db upgrade in drush.
  
  Thanks.
  
  **Tags:** upgrade
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-01-14. Score: 5 | Accepted answer
  
  Looks like one of your customfield extending 'Contact', 'Individual', 'Organization', 'Household' has missing machine name. The best way to check would be to run below sql query to check if there is any result
  SELECT id, name, label FROM civicrm_custom_field WHERE (name = '' OR name IS NULL)
  
  If you found any rows than run below query to update the name with label
  UPDATE civicrm_custom_field set name = label WHERE (name = '' OR name IS NULL);
  
  Cheers
  Pradeep
  
  > **Comments:**
  > **username_2**: So there are 3 customfields with NULL name  
  > **username_0**: Pradeep, yes, I have about 50 of those, but they aren't fields that I added or did anything with, afaik. (|  7 | NULL | Constituent Type                  |)  
  > **username_2**: Updated my answer to include the fix  
  > **username_0**: thanks Pradeep, that's the script i was about to write.  
  > **username_2**: Cheers, Can you please mark this as answered if my solution worked for you so that it will be helpful for others if they face similar problem  
  
  ---
  
  ### Answer by username_1 on 2019-01-14. Score: 3
  
  If the concern is that it is 'disconcerting' then for a live site it would be normal to turn Drupal "Errors and Warnings" off via admin/config/development/logging
  
  > **Comments:**
  > **username_0**: It's a bit more than that.  It implies to me that something went wrong in the upgrade process.  I wasn't able to find anyone else having the problem, so I'm wondering if anyone has thoughts on the cause.  
  
  ---
  
  