• Michael Labuschagne

    (@michaellabuschagnegmailcom)


    Installed the plugin. Getting the following Notices on the admin screen

    Notice: Undefined index: pieregister_reset in C:\xampp\htdocs\gravity\wp-content\plugins\pie-register\pie-register.php on line 114

    Notice: Undefined index: pieregister_reset in C:\xampp\htdocs\gravity\wp-content\plugins\pie-register\pie-register.php on line 573

    Notice: Undefined index: page in C:\xampp\htdocs\gravity\wp-content\plugins\pie-register\pie-register.php on line 854

    http://ww.wp.xz.cn/plugins/pie-register/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor genetech

    (@genetech)

    Hi,

    Please turn off the error reporting for E_NOTICE on your web server or you can do that directly into the plugin main file by adding the following line at the top of the page after <?php
    error_reporting(0);

    Hope it helps.

    Thanks

    Thread Starter Michael Labuschagne

    (@michaellabuschagnegmailcom)

    Thanks for the reply. I know I can switch off error reporting to make the messages go away, I’m bringing them to your attention because your code shouldn’t be outputting them, the fact that these notices are appearing shows improper use of PHP and the WordPress API.

    For the sake of professionalism I’d recommend you sort those out and leave debugging enabled when you’re dev’ing to ensure your code isn’t throwing any errors\ notices and the like, you may inadvertently break something as a result.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Notices’ is closed to new replies.