When I have the name field enabled on a display for a content type, I can't get to the UI for managing that display. E.g., on /admin/structure/types/manage/CONTENTTYPE/display/DISPLAYNAME, I get the following error:
The website encountered an unexpected error. Please try again later.
TypeError: Argument 2 passed to Drupal\name\NameGenerator::filterByFieldSettings() must be of the type array, null given, called in modules/contrib/name/src/NameGenerator.php on line 162 in Drupal\name\NameGenerator->filterByFieldSettings() (line 211 of modules/contrib/name/src/NameGenerator.php).
My config for the field is this:
field_person_name:
weight: 0
label: inline
settings:
format: default
markup: none
output: default
list_format: ''
link_target: ''
preferred_field_reference: ''
preferred_field_reference_separator: ', '
alternative_field_reference: ''
alternative_field_reference_separator: ', '
third_party_settings: { }
type: name_default
region: content
On a display where the field is disabled, I can load the display edit page, but if I try to enable the field, the AJAX spinner by the "Name Formatter" dropdown just spins, and the field never enables.