Title: php errors when in mode debug
Last modified: August 31, 2016

---

# php errors when in mode debug

 *  ResolvedPlugin Contributor [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-errors-when-in-mode-debug/)
 * Hello,
 * I’m just testing my site with mode debug enabled for WordPress.
 * I got two php errors in login form :
    ============== Notice: Undefined index:
   google in /home/cdt5/www/wp-content/plugins/authorizer/authorizer.php on line
   1411 ============== and ============== Notice: Undefined index: advanced_hide_wp_login
   in /home/cdt5/www/wp-content/plugins/authorizer/authorizer.php on line 1420 =
   ============= As you can find out, I’m using CAS to authenticate. This is not
   a big error, but could be solved by first looking if $google, $advanced_ide_wp_login
   are set first then get the values in the test on the indicated lines 😉
 * [https://wordpress.org/plugins/authorizer/](https://wordpress.org/plugins/authorizer/)

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

 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-errors-when-in-mode-debug/#post-7167175)
 * There’s supposed to be validation code to ensure they’re always set. I’ll try
   to see if I can find why they aren’t in your installation.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-errors-when-in-mode-debug/#post-7167176)
 * Are you running multisite, by chance?
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-errors-when-in-mode-debug/#post-7167177)
 * Fixed up the sanitizer. Since checkbox options don’t get submitted during POST
   when they’re empty, that was causing the warnings.
 * [https://github.com/uhm-coe/authorizer/commit/628dd40219419735db436d6e343925c9d199f4be](https://github.com/uhm-coe/authorizer/commit/628dd40219419735db436d6e343925c9d199f4be)
 * This fix will go into the next release, thanks for identifying it!
 *  Plugin Contributor [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-errors-when-in-mode-debug/#post-7167181)
 * Your Welcome!
    Thanks for the fix.

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

The topic ‘php errors when in mode debug’ is closed to new replies.

 * ![](https://ps.w.org/authorizer/assets/icon-256x256.jpg?rev=1967453)
 * [Authorizer](https://wordpress.org/plugins/authorizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/authorizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/authorizer/)
 * [Active Topics](https://wordpress.org/support/plugin/authorizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authorizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authorizer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [jojaba](https://wordpress.org/support/users/jojaba/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/php-errors-when-in-mode-debug/#post-7167181)
 * Status: resolved