Error since yesterday – LDAP URL created in AdLdap Class is wrong
-
Hi there,
we are using this plugin for years, everything worked fine up to yesterday. Unfortuntately after the last plugin update we got a fatal error. Nobody could log in to the site but the local admin. In the logs we found “PHP Fatal error: Uncaught TypeError: ldap_set_option(): Argument #1 ($ldap) must be of type ?LDAP\Connection, bool given in […]/wp-content/plugins/next-active-directory-integration/src/shared/AdLdap/AdLdap.php:554”. After a little debugging we found out that the URL is composed wrong. It results in “ldap://ldaps://” instead of only “ldaps://”. We are running PHP 8.2 and WordPress 6.6.2. How can we fix this?
- The topic ‘Error since yesterday – LDAP URL created in AdLdap Class is wrong’ is closed to new replies.