Don’t know how serious this is but I’m using LDAP authentication and I get the following error message in various forms throughout (this one is from the admin screen for creating an admin owner in setup/admin_account.php):
Fatal error: Call to a member function supportsObjectClass() on a non-object in /var/www/html/egroupware/phpgwapi/inc/class.accounts_ldap.inc.php on line 240
The line is:
if ($this->ldapServerInfo->supportsObjectClass($objectclass))
so for some reason ldapServerInfo seems to be NULL despite attempts to initialize above. However, ldap does work fine so I’m not sure what the problem is (double include or something?). If I change the line to:
if (is_object($this->ldapServerInfo) && $this->ldapServerInfo->supportsObjectClass($objectclass))
in the various places this occurs, it works fine and seemingly with no drawbacks but could you let me know what the better solution is for a long term rollout is?