Il y a quelques jours, j’ai mis à jour mon install de Wordpress vers la v.5.6 en utilisant le webadmin de Yunohost. Hier, j’ai reçu un mail d’erreur de ce même Wordpress : “WordPress a trouvé une erreur avec l’une de vos extensions, « Simple LDAP Login ».” Cette extension est - je crois - ajoutée par défaut quand on installe Wordpress sur Yunohost.
Le mail d’erreur inclut les infos suivantes :
======================
Une erreur de type E_ERROR a été causée dans la ligne 368 du fichier /var/www/wordpress__2/wp-content/plugins/simple-ldap-login/Simple-LDAP-Login.php. Message d’erreur : 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('MONLOGIN', 'MONPASSWOR...', 'ol')
#1 /var/www/wordpress__2/wp-includes/class-wp-hook.php(287): SimpleLDAPLogin->authenticate(NULL, 'MONLOGIN', 'MONPASSWOR...')
#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, 'MONLOGIN', 'MONPASSWOR...')
#4 /var/www/wordpress__2/wp-includes/user.php(95): wp_authenticate('MONLOGIN', 'MONPASSWOR...')
#5 /var/www/wordpress__2/wp-login.php(1257): wp_signon(Array, true)
#6 {main}
thrown
Mon Wordpress reste accessible mais quand j’essaie de me connecter en admin, après avoir tapé mon id et mdp, Wordpress affiche : “Une erreur critique est survenue sur ce site. Veuillez consulter la boite de réception de l’e-mail d’administration de votre site pour plus d’informations.”
J’ai 3 Wordpress installés sur mon serveur et l’erreur est apparue sur les 3.
Mon serveur YunoHost
Matériel: Vieil ordinateur Version de YunoHost: 3.8.5.9 J’ai accès à mon serveur : Par la webadmin Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non WordPress version 5.6 Extension actuelle : Simple LDAP Login (version 1.6.0) PHP version 7.3.25-1+0~20201130.73+debian9~1.gbp042074
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