Enabling LDAP Authentication causes an warning message in logs. This warning floods the error logs with the message.
When LDAP Authentication is enable the following error is generated in apache error logs:
PHP Warning: Declaration of LDAPAuthenticateUser::loadUserOnLogin($name, $password) should be compatible with SugarAuthenticateUser::loadUserOnLogin($name, $password, $fallback = false, $PARAMS = Array) in /var/www/html/modules/Users/authentication/LDAPAuthenticate/LDAPAuthenticateUser.php on line 52, referer: https://crm.cobra.local/index.php?module=Users&action=Login
LDAPAuthenticateUser::loadUserOnLogin be compatible with SugarAuthenticateUser::loadUserOnLogin and not generate the warning.
LDAPAuthenticateUser::loadUserOnLogin is not compatible with SugarAuthenticateUser::loadUserOnLogin and generates warnings in error logs.
LDAPAuthenticateUser::loadUserOnLogin signature be consistent with SugarAuthenticateUser::loadUserOnLogin.
Main issues is it generates many entries in the Apache error logs, and can be easily fixed. It does not appear to affect functionality. It is a low priority issue.
Most helpful comment
Relates to https://github.com/salesagility/SuiteCRM/issues/942