yourls-ldap-plugin
yourls-ldap-plugin copied to clipboard
Activation of plugin bombs
While trying to activate the plugin, I get the following error message
Fatal error: Cannot use isset() on the result of a function call (you can use "null !== func()" instead) in /home/www/public_html/user/plugins/ldap-auth/plugin.php on line 283
should have the latest yourls and ldap plugin
That should be fixed now, can you update the plugin to the master, test and report back please?
The fix resolved the first issue.
The plugin activates now, but now i'm getting these errors
Warning: array_merge(): Argument #2 is not an array in /home/www/public_html/user/plugins/ldap-auth/plugin.php on line 285
Warning: ldap_search(): Search: Operations error in /home/www/public_html/user/plugins/ldap-auth/plugin.php on line 189
And neither LDAP or local users work, can log in with local users if I rename the plugin file.
Not sure if our LDAP allows anonymous search, does the search happen before or after the bind with the submitted user credentials?