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.
Receive this error when editing a form submission:
Notice: Undefined offset: 1 in webform_matrix_component_form_alter() (line 314 of /Applications/MAMP/htdocs/drupal-7.51/sites/all/modules/webform_matrix_component/webform_matrix_component.module).
Notice: Undefined offset: 2 in webform_matrix_component_form_alter() (line 314 of /Applications/MAMP/htdocs/drupal-7.51/sites/all/modules/webform_matrix_component/webform_matrix_component.module).
Only seems to happen if matrix field type LABEL is used within the matrix.
To recreate:
- Create a matrix.
- Add a label field.
- Add a text field.
- Submit data to the form.
- Click the edit link on the Results screen to see the error.
Comments
Comment #2
chetan-singhal CreditAttribution: chetan-singhal commentedwill look this.
Comment #3
momoney CreditAttribution: momoney commentedHi, any update on this issue? I'm getting a similar error for the label field
Comment #4
dcrespin CreditAttribution: dcrespin commentedHi, from a multi-step webform I have the same problem when I go back one step before and I return to the original place (where the matrix field is).
Comment #6
chetan-singhal CreditAttribution: chetan-singhal commentedComment #7
chetan-singhal CreditAttribution: chetan-singhal commented