- Issue created by @johnv
- Status changed to Fixed
12 months ago 2:42pm 4 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.
When saving the Workflow Field settings in D10.2, the following error appears.
TypeError: Drupal\Core\Render\Element::children(): Argument #1 ($elements) must be of type array, null given, called in \core\modules\options\src\Plugin\Field\FieldType\ListItemBase.php on line 364 in Drupal\Core\Render\Element::children() (line 72 of core\lib\Drupal\Core\Render\Element.php).
Upon analyzing the stack, the error occurs in Drupal\options\Plugin\Field\FieldType\ListItemBase::validateAllowedValues().
The call is defined as a call_user_func_array() in WorkflowItem::storageSettngsForm():
Apparently, thisis provoked by a change in 10.2, as per Field configuration forms restructured: Field Storage Configuration Form is now a subform within Field Configuration Edit Form → .
Fixed
1.7
Code
Automatically closed - issue fixed for 2 weeks with no activity.