After upgrade to 4.7 on Drupal 7, Can't edit a contact
Similar issue is being filed here https://issues.civicrm.org/jira/browse/CRM-17831.

This has been fixed in 4.7.2 at https://github.com/civicrm/civicrm-core/pull/7770/files.

Update: As xml files are not included in the downloaded Civi. For the time being, can you please make the following changes at fields() function in CRM/Contact/DAO/Contact.php.

'formal_title' =&gt; array(
   'name' =&gt; 'formal_title',
   .
   .
   .
   'export' =&gt; true,
   'html' =&gt; array(        &lt;--- include this
     'type' =&gt; 'Text',
   ) ,
 ) ,