After saving a group type with site settings at /admin/group/types/manage/site, running drush cr triggers a PHP warning:

Undefined array key "environment" in
web/modules/contrib/sites/src/Plugin/Field/FieldType/SiteSettingsFieldItemList.php on line 61

Issue fork sites-3605946

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

valegole created an issue. See original summary.

valegole’s picture

Status: Active » Needs review
harlor’s picture

Status: Needs review » Needs work

I think if the isset() is false we also want to remove the value.

harlor’s picture

Btw. This issue occurs if a site provides an environment override for a setting that does not allow that.

valegole’s picture

Status: Needs work » Needs review