# Update 2.6 LDAP An internal error occured \[Pro\]

**URL:** <https://community.passbolt.com/t/update-2-6-ldap-an-internal-error-occured-pro/1285>\
**Category:** Installation Issues\
**Created:** [December 4, 2018, 8:32pm UTC](https://community.passbolt.com/t/update-2-6-ldap-an-internal-error-occured-pro/1285 "2018-12-04T20:32:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingfisher](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/kingfisher/32/25_2.png) [@kingfisher](https://community.passbolt.com/u/kingfisher)\
**Post date:** [December 4, 2018, 8:32pm UTC](https://community.passbolt.com/t/update-2-6-ldap-an-internal-error-occured-pro/1285/1 "2018-12-04T20:32:42Z")

</div>

Hi,

we just tried to update our Testinstallation to 2.6. Happy about LDAP Integration in the new administration section. If we try to activate the user directory the switch is not working and a flyout appears with the message “Error: An internal error occured”.

In the log file we see:

```
2018-12-04 20:28:08 Error: [Error] Call to a member function get() on null
Request URL: /directorysync/settings.json?api-version=v2
Referer URL: https://pass-test.sub.domain/app/administration/users-directory

```

Update worked properly. LDAP was configured before and worked.

What would be a task to solve the situation?

---

<div class="post-metadata">

**Author:** ![cedric](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/cedric/32/3868_2.png) [@cedric](https://community.passbolt.com/u/cedric)\
**Post date:** [December 5, 2018, 6:36am UTC](https://community.passbolt.com/t/update-2-6-ldap-an-internal-error-occured-pro/1285/2 "2018-12-05T06:36:32Z")

</div>

Hello @kingfisher,

Are the properties defaultUser and defaultGroupAdminUser defined in your config/ldap.php?  
If yes, are they targeting existing passbolt users? These properties should contain the email of the desired users.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/b/bee7d3f9329f668000d46e9fcb2e5db1e9d31348.svg) [@system](https://community.passbolt.com/u/system)\
**Post date:** [December 10, 2018, 6:36am UTC](https://community.passbolt.com/t/update-2-6-ldap-an-internal-error-occured-pro/1285/3 "2018-12-10T06:36:37Z")

</div>

Closed on December 10, 2018, 6:36am UTC

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
