WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe To Comments Reloaded
[resolved] Undefined variable (3 posts)

  1. Доктор Бро (doktorbro)
    Member
    Posted 3 years ago #

    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

  2. stevejohnson
    Member
    Posted 3 years ago #

    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.

  3. camu
    Member
    Plugin Author

    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic