Problem/Motivation
Having a look at our logs, i found an uncaught PHP exception, which may lead to other errors while execution.
Uncaught PHP Exception TypeError: "Drupal\paragraphs_sets\ParagraphsSets::getWidgetState(): Argument #1 ($parents) must be of type array, null given, called in /var/www/html/docroot/modules/contrib/paragraphs_sets/paragraphs_sets.module on line 318"
This error is proceeded by a warning:
Warning: Undefined array key "#field_parents" in paragraphs_sets_field_widget_complete_form_alter() (line 318 of /var/www/html/docroot/modules/contrib/paragraphs_sets/paragraphs_sets.module)
Steps to reproduce
- create a paragraph set
- try to add the paragraph set within an existing paragraphs field
- adding of paragraph set is not possible and fails with error Oops, something went wrong. Check your browser's developer console for more details.
Issue fork paragraphs_sets-3596331
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
Comment #3
steffenrComment #5
stborchertThank you! Merged.