Warning: Undefined array key 'subform' in ParagraphsAsymmetricWidget->formElement()

Created on 19 June 2023, over 1 year ago
Updated 21 April 2024, 7 months ago

Problem/Motivation

When viewing an entity form with the asymmetric paragraphs widget, the following warning appears:

Warning: Undefined array key "subform" in Drupal\paragraphs_asymmetric_translation_widgets\Plugin\Field\FieldWidget\ParagraphsAsymmetricWidget->formElement() (line 29 of modules/contrib/paragraphs_asymmetric_translation_widgets/src/Plugin/Field/FieldWidget/ParagraphsAsymmetricWidget.php).

Steps to reproduce

Install and configure the module, view an entity edit form with the widget.

Proposed resolution

Add an isset().

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024