Error on PHP8.1 when user does not exist
-
Login using non existant user will take user to critical error page and admin will receive email.
Error Details ============= An error of type E_ERROR was caused in line 491 of the file /web/public_html/wp-content/plugins/wpdirauth/wpDirAuth.php. Error message: Uncaught TypeError: ldap_get_dn(): Argument #2 ($entry) must be of type LDAP\ResultEntry, bool given in /web/public_html/wp-content/plugins/wpdirauth/wpDirAuth.php:491 Stack trace: #0 /web/public_html/wp-content/plugins/wpdirauth/wpDirAuth.php(491): ldap_get_dn(Object(LDAP\Connection), false) #1 /web/public_html/wp-content/plugins/wpdirauth/wpDirAuth.php(1379): wpDirAuth_auth('nonexistentuser', 'SomePassword...') #2 /web/public_html/wp-includes/class-wp-hook.php(310): wpDirAuth_authenticate(NULL, 'nonexistentuser', 'SomePassword...') #3 /web/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #4 /web/public_html/wp-includes/pluggable.php(618): apply_filters('authenticate', NULL, 'nonexistentuser', 'SomePassword...') #5 /web/public_html/wp-includes/user.php(106): wp_authenticate('nonexistentuser', 'SomePassword...') #6 /web/public_html/wp-login.php(1241): wp_signon(Array, true) #7 {main} thrown
WordPress version 6.3.1
Active theme: Newspaper (version 10.4)
Current plugin: wpDirAuth (version 1.10.7)
PHP version 8.1.24
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error on PHP8.1 when user does not exist’ is closed to new replies.