Support » Plugin: Comment Reply Email Notification » Debug error line 223 (and potential fix)

  • Resolved David


    Hey, I ran WP Debug with your plugin active and it threw up an error for me:

    Notice: Undefined variable: checkbox in /path/to/site/cren_plugin.php on line 223
    This appears on the blog comment form while logged out.

    I checked out the code and it seems if you add:
    $checkbox = '';
    at the beginning of the function before the “if” the error no longer appears.

    Do correct me if I’m wrong 🙂

    • This topic was modified 1 year, 8 months ago by  David.
Viewing 1 replies (of 1 total)
  • Plugin Author guhemama


    Nice catch David! I’m not sure the notice is ever being triggered, but I will add a fix for the sake of defensive programming. 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Debug error line 223 (and potential fix)’ is closed to new replies.