Support » Plugin: Honeypot Comments » Notice: Undefined variable: key

  • I’m seeing the following error on pages with comments turned on and this plugin activated:

    Notice: Undefined variable: key in wp-content/plugins/honeypot-comments/honeypot-comments.php on line 64

    I resolved this by add this line above the for statement

    if ( !isset($key) ) $key = "";

    Attempting to add to a variable without first defining it is the reason for the error.

  • The topic ‘Notice: Undefined variable: key’ is closed to new replies.