• Resolved timholz

    (@timholz)


    Hi
    Thanks for the plugin, i am testing it on a website right now.
    Afger configuring the form i encounter some errors…
    How can i get rid of the following errors in contact-coldform.php?

    Notice: Undefined variable: coldform_response in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/contact-coldform/contact-coldform.php on line 156
    
    Notice: Undefined index: coldform_response in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/contact-coldform/contact-coldform.php on line 158
    
    Notice: Undefined variable: coldform_response in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/contact-coldform/contact-coldform.php on line 161

    Thanks a lot for your interest.
    regards
    theo

    https://wordpress.org/plugins/contact-coldform/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi theo,

    Glad to help. First of all, those are not “errors”, they are notices. They are nothing to worry about. They should never, however, be displayed on the front-end of any live, production site. Displaying PHP/debug infos can be a security risk. You can search online and/or ask your host how to disable them so they are not displayed.

    That said, for the PHP notices you are seeing, it could be because of misconfiguration.. can you let me know what you have for the following settings:

    – Challenge Question
    – Challenge Response
    – Display Captcha

    Thread Starter timholz

    (@timholz)

    Hi Jeff

    Thanks a lot for your instructive response. I wasn’t aware of the security risk of turning debug on. Well, it’s off now.

    The plugin configuration that caused the notes was:
    challenge quesion: 1+1=
    challenge response:2
    display captcha: off

    Since you narrow the problem to these there fields, i tested the behaviour with display captcha: on.
    With this setting the notes are gone.

    The reason why i turned display captcha off, was, that the plugin already provides an empty field (something like a honeypot, right?) and i’ve read in many articles, that captcha is an obsolete technique and considered user-unfriendly.

    But, anyway, the plugin works well.
    Thanks a lot for providing Contact Coldform.
    Great contribution.

    regards
    theo

    Plugin Author Jeff Starr

    (@specialk)

    Ah, thanks for the feedback, I’ll make sure the notices are resolved for the next update. Technically the captcha is not a honeypot, more like the opposite of a honeypot, but it is totally fine if you do not want to display for whatever reason. It’s all good man, thank you very much for the feedback – I appreciate it. Kind regards, Jeff

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php errors’ is closed to new replies.