WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
define('WP_DEBUG', TRUE); (7 posts)

  1. Goran Petrovic
    Member
    Posted 2 years ago #

    Can you define variables... when i turn on DEBUG i have bugs...
    Please repair all of this errors

    Notice: Undefined index: form_notification_setting in /Applications/MAMP/htdocs/wp/dev/wp-content/plugins/visual-form-builder/visual-form-builder.php on line 582

    Notice: Undefined index: form_notification_entry in /Applications/MAMP/htdocs/wp/dev/wp-content/plugins/visual-form-builder/visual-form-builder.php on line 588

    Notice: Undefined variable: verification_id in /Applications/MAMP/htdocs/wp/dev/wp-content/plugins/visual-form-builder/visual-form-builder.php on line 702

    Notice: Undefined variable: verification_id in /Applications/MAMP/htdocs/wp/dev/wp-content/plugins/visual-form-builder/visual-form-builder.php on line 702

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. s_ha_dum
    Member
    Posted 2 years ago #

    "Notice" isn't a bug. It is a warning. It means that the code is depending upon undefined behavior. Something labeled "Notice" pretty much always works, but might stop working at some time in the future. It isn't an error, but might-- might-- become one sometime later. They are best cleaned up, but don't panic about them.

  3. Goran Petrovic
    Member
    Posted 2 years ago #

    just try work on site when is DEBUG == TRUE,
    don't work redirect
    don't work message after submit, don't work form bulder.. etc...
    ;) that is a 10h work to fix that ...

    Best regards

  4. Goran Petrovic
    Member
    Posted 2 years ago #

    But i must to say this is a best form builder plugin :) for me.

    And if you can add on select box some list of values like countries list or somting simple...

  5. s_ha_dum
    Member
    Posted 2 years ago #

    Yes, those debug messages can cause some things to break, depending upon where they show up.

  6. Goran Petrovic
    Member
    Posted 2 years ago #

    just define variables
    $variable = (!empty($value)) $value ? : NULL ;

  7. s_ha_dum
    Member
    Posted 2 years ago #

    just define variables
    $variable = (!empty($value)) $value ? : NULL ;

    Of course, that is what the Notice is telling should have been done. Still, the reason it is a "Notice" and not an "Error" is that the code does work, at least for now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags