- Issue created by @osopolar
- Merge request !11Fix TypeError by ensuring field_name and parents aren't null. → (Open) created by osopolar
From time to time I see the following error in the logs:
TypeError: Drupal\Core\Field\WidgetBase::getWidgetState(): Argument #1 ($parents) must be of type array, null given, called in /app/docroot/modules/contrib/multiple_fields_remove_button/multiple_fields_remove_button.module on line 38 in Drupal\Core\Field\WidgetBase::getWidgetState() (line 600 of /app/docroot/core/lib/Drupal/Core/Field/WidgetBase.php)
I am not sure how to reproduce it, I assume it is related to the us of Autosave Form → .
Ensure value is set for $field_name and $parents in multiple_fields_remove_button_submit_handler.
Active
2.2
Code