• Resolved clauded007

    (@clauded007)


    Getting this error when a HTML field is present in forms with version 1.6.16 of weForms:

    PHP Warning: Undefined array key "name" in /home/my_site/public_html/wp-content/plugins/weforms/includes/fields/class-field-html.php on line 26

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Elana Davis

    (@elanasparkle)

    Hello @clauded007,

    ?Thank you for reaching out to support! This warning seams to indicate there might be something with the name of your form, are you able to change the name of your form and see if that resolves that warning? Also, WordPress warnings can be safely be ignored and you can remove the warnings by putting the below code in your wp-config.php in the root directory of your site.

    define( 'WP_DEBUG', false );
    
    define( 'WP_DEBUG_DISPLAY', false );
    Thread Starter clauded007

    (@clauded007)

    Thanks for the reply but unfortunatly, changing the name of the form doesn’t remove the warning. Is it possible that the error is refering to the name of the field (and a html field has no name)?

    Plugin Support brandonco

    (@brandonco)

    Hi @clauded007, I just want to make you aware that this is just a warning and not an error. If you use the code Elana provided above in your wp-config.php file it will safely ignore the warning.

    I hope this helps!

    Thread Starter clauded007

    (@clauded007)

    I’m aware it’s only a warning however I think it’s a symptom of a programming error.

    Plugin Support brandonco

    (@brandonco)

    Hi @clauded007,

    Sorry I just wanted to make sure you were aware. We did identify this as a bug and there will be a fix for this in the upcoming WeFroms update.

    We appreciate you for bringing this issue to our attention.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Warning: Undefined array key “name”’ is closed to new replies.