Undefined index: maxlength after update to 5.2.0
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


Apply fix from https://github.com/civicrm/civicrm-core/pull/12090 or wait for next release.
Turn off php notices by navigating to Configurations >> Logging and errors. Set 'Error messages to display' to None.


HTH

Pradeep