Answers.Body: <p>Jim,</p>
  
  <p>This is a php notice, you can ignore. However this has been fixed in latest version of Civi. To fix this you can either</p>
  
  <ol>
  <li><p>Apply fix from <a href="https://github.com/civicrm/civicrm-core/pull/12090" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/12090</a> or wait for next release.</p></li>
  <li><p>Turn off php notices by navigating to Configurations >> Logging and errors. Set 'Error messages to display' to None.</p></li>
  </ol>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-11T09:07:07.987Z
Answers.LastActivityDate: 2018-06-11T09:07:07.987Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I am relatively new to CiviCRM. After we updated to 5.2.0 I started getting this message when I enter the Create New Individual screen: </p>
  
  <p>Notice: Undefined index: maxlength in CRM_Core_Form->addField() (line 1478 of /home/makernexuswiki/www/crm/sites/all/modules/civicrm/CRM/Core/Form.php).</p>
  
  <p>Searching Google and StackExchange I could not find any relevant info.</p>
  
  <p>Did the upgrade fail to add a required index? Is this a big issue? Should I just set the system to ignore Notices?</p>
  
  <p>We are on Drupal 7.5.9</p>
  
  <p>Any help is appreciated.
  Jim</p>
  
Tags: <upgrade><error>
Title: Undefined index: maxlength after update to 5.2.0
ThreadText: # Undefined index: maxlength after update to 5.2.0
  
  (Asked by: username_0 on 2018-06-11)
  
  I am relatively new to CiviCRM. After we updated to 5.2.0 I started getting this message when I enter the Create New Individual screen:
  
  Notice: Undefined index: maxlength in CRM\_Core\_Form->addField() (line 1478 of /home/makernexuswiki/www/crm/sites/all/modules/civicrm/CRM/Core/Form.php).
  
  Searching Google and StackExchange I could not find any relevant info.
  
  Did the upgrade fail to add a required index? Is this a big issue? Should I just set the system to ignore Notices?
  
  We are on Drupal 7.5.9
  
  Any help is appreciated.
  Jim
  
  **Tags:** upgrade, error
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-06-11. Score: 2 | Accepted answer
  
  Jim,
  
  This is a php notice, you can ignore. However this has been fixed in latest version of Civi. To fix this you can either
  
  1. Apply fix from <https://github.com/civicrm/civicrm-core/pull/12090> or wait for next release.
  2. Turn off php notices by navigating to Configurations >> Logging and errors. Set 'Error messages to display' to None.
  
  HTH
  
  username_1
  
  
  ---
  
  