Translated in English
Hello,
Some days ago I updated my Wordpress to version 5.6 using the Yunohost webadmin. Yesterday I got an error email from this Wordpress: “Wordpress has found an error in one of your plugins, “Simple LDAP Login””. As far as I know this plugin is included by default when installing Worpdress on/via Yunohost.
The error email contains the following:
An E_ERROR error type has appeared in line 368 in file /var/www/wordpress__2/wp-content/plugins/simple-ldap-login/Simple-LDAP-Login.php. Error message: Uncaught Error: Call to undefined function ldap_connect() in /var/www/wordpress__2/wp-content/plugins/simple-ldap-login/Simple-LDAP-Login.php:368
Stack trace:
#0 /var/www/wordpress__2/wp-content/plugins/simple-ldap-login/Simple-LDAP-Login.php(300): SimpleLDAPLogin->ldap_auth('MYLOGIN', 'MYPASSWOR...', 'ol')
#1 /var/www/wordpress__2/wp-includes/class-wp-hook.php(287): SimpleLDAPLogin->authenticate(NULL, 'MYLOGIN', 'MYPASSWOR...')
#2 /var/www/wordpress__2/wp-includes/plugin.php(212): WP_Hook->apply_filters(NULL, Array)
#3 /var/www/wordpress__2/wp-includes/pluggable.php(549): apply_filters('authenticate', NULL, 'MYLOGIN', 'MYPASSWOR...')
#4 /var/www/wordpress__2/wp-includes/user.php(95): wp_authenticate('MYLOGIN', 'MYPASSWOR...')
#5 /var/www/wordpress__2/wp-login.php(1257): wp_signon(Array, true)
#6 {main}
thrown
My Wordpress remains accessible. However, when I try to connect in admin, after inserting my id and my password, Wordpress says: “A critical error appeared on your website. Please check the admin mailbox for more information.”
I have 3 Wordpress installed on my server. The same error appeared on all of them.
My YunoHost server
Hardware: Old computer
YunoHost version: 3.8.5.9
I connect to my server: through the webadmin
Are you in a particular context or have you modified your installation?: no
WordPress version 5.6
Current plugin: Simple LDAP Login (version 1.6.0)
PHP version: 7.3.25-1+0~20201130.73+debian9~1.gbp042074
Thank you in advance.