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'm receiving this pile of messages every time I'm saving a web form with Name Field that contains all default settings.
Notice: Undefined index: #field_prefix in theme_webform_display_textfield() (line 193 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Notice: Undefined index: #field_suffix in theme_webform_display_textfield() (line 194 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Notice: Undefined index: #field_prefix in theme_webform_display_textfield() (line 193 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Notice: Undefined index: #field_suffix in theme_webform_display_textfield() (line 194 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Notice: Undefined index: #field_prefix in theme_webform_display_textfield() (line 193 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Notice: Undefined index: #field_suffix in theme_webform_display_textfield() (line 194 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Notice: Undefined index: #field_prefix in theme_webform_display_textfield() (line 193 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Notice: Undefined index: #field_suffix in theme_webform_display_textfield() (line 194 of C:\wamp\www\sites\all\modules\webform\components\textfield.inc).
Comments
Comment #1
sashkernel CreditAttribution: sashkernel commentedSame thing in 7.x-16
Comment #2
Alan D. CreditAttribution: Alan D. commentedI haven't seen these errors myself, but you could try this in "name/includes/webform.components.inc". The two bottom lines that start with the + sign (but do not include the "+" in the file)
Comment #3
sashkernel CreditAttribution: sashkernel commentedThank you Alan,
That does the trick.
Comment #4
Alan D. CreditAttribution: Alan D. commentedExcellent, I retagged a new release so that users don't need to use the dev version for the next 4 or 5 months (I have no further plans to do anything for a while)