Log error instead of displaying it
This resolves compatibility problems with the new https://github.com/civicrm/org.civicrm.contactlayout extension (and translates a string too). Now if the basic info block is missing from the summary layout, this extension won't complain.