Title: PHP 8 error: ldap_test_user (again)
Last modified: August 10, 2023

---

# PHP 8 error: ldap_test_user (again)

 *  Resolved [monkeyleo13](https://wordpress.org/support/users/monkeyleo13/)
 * (@monkeyleo13)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-8-error-ldap_test_user-again/)
 * PHP Warning: Undefined array key “ldap_test_user” in F:\inetpub\wwwroot\site\
   wp-content\plugins\authorizer\src\authorizer\class-options.php on line 211
 * We’re using Authorizer 3.6.3.1 and PHP 8.1, it was no issue for a while until
   yesterday, we removed one user on two multisite sites and that when we got that
   error. I switched PHP to 7.4.32, it shows no issue. But I don’t know why. I can’t
   replicate issue at dev and stage server. It just weird. I tried to uninstall 
   and reinstall it, same issue. I hope you have some idea why it’s happening.

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

 *  Thread Starter [monkeyleo13](https://wordpress.org/support/users/monkeyleo13/)
 * (@monkeyleo13)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-8-error-ldap_test_user-again/#post-16979050)
 * I tried to go back to older version of Authorizer, no luck. I think it something
   when we removed user… I went ahead and comment out on line 211 and everything
   works fine. But I know it not resolve and wonder if you know how to remedy it?
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-8-error-ldap_test_user-again/#post-16990654)
 * Looks like we forgot to set a default value for that plugin setting on multisite
   installations.
 * I wouldn’t worry about it, it won’t affect the actual running of the plugin. 
   We’ll get a fix out in the next release. Leaving that line commented out should
   work fine in the meantime!
 *  Thread Starter [monkeyleo13](https://wordpress.org/support/users/monkeyleo13/)
 * (@monkeyleo13)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-8-error-ldap_test_user-again/#post-16992309)
 * Awesome, thank you!

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

The topic ‘PHP 8 error: ldap_test_user (again)’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [monkeyleo13](https://wordpress.org/support/users/monkeyleo13/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/php-8-error-ldap_test_user-again/#post-16992309)
 * Status: resolved