WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Subscribe To Comments Reloaded] Undefined variable

[Resolved] [Plugin: Subscribe To Comments Reloaded] Undefined variable

  • I use dafault comment loop of twenty ten. If I click on “manage subscriptions” beside the comment form, I go to the page “Manage subscriptions”. With debug=true I see on top of the page the error message:
    Notice: Undefined variable: manager_page_permalink in /domain/wp-content/plugins/subscribe-to-comments-reloaded/subscribe-to-comments-reloaded.php on line 466

Viewing 2 replies - 1 through 2 (of 2 total)
  • stevejohnson
    Participant

    @stevejohnson

    It’s not an “error”, it’s a “notice”. Big difference.

    It just means that the coder used the variable in an expression without first testing to see if it actually existed or not. In your case, it doesn’t exist. While this is allowed in PHP, many feel that it’s not exactly the best coding practice because it does generate a E_NOTICE.

    Plugin Contributor Jason Crouse
    Participant

    @coolmann

    Thank you Steve for clarifying. It’s not an error indeed, but I’ve tried to remove all these warning from my source code, I must have missed that one. It will definitely be fixed when the next release is out, thank you for pointing it out.

    Camu

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Subscribe To Comments Reloaded] Undefined variable’ is closed to new replies.