A5 Custom Login Page
[resolved] A lot of "undefined index" notices in debug mode (2 posts)

  1. macemmek
    Posted 3 years ago #


    after plugin activation, I'm getting increadible amount of following notices:

    Notice: Undefined variable: style in /.../wp-content/plugins/custom-login-page/class-lib/A5_OptionPageClass.php on line 145
    Notice: Undefined variable: id in /.../wp-content/plugins/custom-login-page/class-lib/A5_OptionPageClass.php on line 144 Notice: Undefined variable: style in /.../wp-content/plugins/custom-login-page/class-lib/A5_OptionPageClass.php on line 145

    and so on...


  2. tepelstreel
    Plugin Author

    Posted 3 years ago #

    Yes, in debugging mode you will get all these notices. But if you turn it off, they will disappear. It is usually the same with all plugins that use variables without explicitly declaring them before as empty.

    If they are not used at all, they don't need to be there. And usually you will run a live site not in debugging mode, so the user (or a possible customer) will not notice the notices ;)

    Kind regards,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic