J3.x

LDAP Client Missing Escape Method: Difference between revisions

From Joomla! Documentation

mNo edit summary
mNo edit summary
Line 2: Line 2:


==Errors reported== <!-- Fill errors below -->
==Errors reported== <!-- Fill errors below -->
Currently failing with line 119 of ldap.php file, specifically the $ldap->escape method that upon further inspection does not exist in the LdapClient.php file.
The LDAP authentication plugin tries to call a non-existing `escape` method on the Joomla\Ldap\LdapClient class.


==Versions affected== <!--refers to and other information below -->
==Versions affected== <!--refers to and other information below -->

Revision as of 19:50, 19 September 2017


Errors reported

The LDAP authentication plugin tries to call a non-existing `escape` method on the Joomla\Ldap\LdapClient class.

Versions affected

General Information

This pertains only to Joomla! version(s): 3.8.0

What is the cause

A file was not correctly updated in the 3.8.0 release.


How to fix

Replace the file at `libraries/vendor/joomla/ldap/src/LdapClient.php` with the version found at https://github.com/joomla-framework/ldap/blob/1.2.0/src/LdapClient.php