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

  • torotil committed a5b944a on 7.x-1.x
    Use webform_components_default() to load defaults. Fixes #2313951.
    
torotil’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Active » Fixed

I'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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.