Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get the following error when I try and modify an added webform component.
Console Log:
GET /admin/build/form-builder/configure/webform/1425/new_1406907462992?destination=node/1425/webform/components&js=1 500 (Service unavailable (with message))
c.extend.ajax VM3188:1
getForm VM3221:14
Drupal.formBuilder.closeActive VM3221:48
Drupal.formBuilder.editField VM3221:14
c.event.handle VM3188:1
h.handle.o
Drupal Log:
Warning: reset() expects parameter 1 to be array, null given in _form_builder_webform_mapped_form() (line 1055 of /sites/<my_site>.com/modules/form_builder/modules/webform/form_builder_webform.components.inc).
Notice: Undefined index: conditional_component in webform_component_edit_form() (line 552 of /sites/all/modules/webform/includes/webform.components.inc).
Notice: Undefined index: conditional_operator in webform_component_edit_form() (line 562 of /sites/all/modules/webform/includes/webform.components.inc).
Notice: Undefined index: conditional_values in webform_component_edit_form() (line 568 of /sites/all/modules/webform/includes/webform.components.inc).
Recoverable fatal error: Argument 2 passed to drupal_array_get_nested_value() must be an array, null given, called in /sites/<my_site>.com/modules/form_builder/modules/webform/form_builder_webform.components.inc on line 1190 and defined in drupal_array_get_nested_value() (line 6674 of /includes/common.inc).
Comments
Comment #2
torotil CreditAttribution: torotil commentedI've just committed a fix for the webform_conditional notices in 7.x-1.x. This is likely to have fixed the other errors too.