With LDAP authentication active and working properly under version 5.1.2, if a LDAP user logged in for the first time into EspoCRM account creation worked fine.
Since upgrading from 5.1.2 to 5.2.4 EspoCRM throws an error and cannot properly use "saveEntity($user)".
The user is still created, but not all settings are saved.
We run EspoCRM on Debian 9.3 with nginx/1.10.3 and PHP 7.0.27-0+deb9u1.
Since upgrading from 5.1.2 to 5.2.4 EspoCRM throws an error and cannot properly use "saveEntity($user)".
Code:
[2018-06-08 07:37:00] Espo.ERROR: Uncaught Exception TypeError: "Argument 2 passed to Espo\Core\Acl::__construct() must be an instance of Espo\Entities\User, null given, called in /var/www/espo-5.2.4-test/application/Espo/Core/Container.php on line 255" at /var/www/espo-5.2.4-test/application/Espo/Core/Acl.php line 41 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Espo\\Core\\Acl::__construct() must be an instance of Espo\\Entities\\User, null given, called in /var/www/espo-5.2.4-test/application/Espo/Core/Container.php on line 255 at /var/www/espo-5.2.4-test/application/Espo/Core/Acl.php:41)"} []
We run EspoCRM on Debian 9.3 with nginx/1.10.3 and PHP 7.0.27-0+deb9u1.
Comment