Error while login - ldap_settings UndefinedError

Any idea why I am getting this error?

Last time it worked, but now without any update or something doesn’t.
i tried this workaround Error on Login Screen when updating to latest V7.1.3 but didn’t work for me.
Any help would be appreciated

Try these:

bench clear-cache
bench clear-website-cache
clear your web browser cache

Try another browser Chrome, Firefox etc.

if still no go check the logs

Given ldap_settings UndefinedError
reset these setttings

Thank you @clarkej!
Unfortunately even this didn’t work.
Finally, I did it in the hard way: creating a new site and start all things from scratch.

Thank you for your time!

This problem has come back to haunt us, except now on our production server. We need to figure out what is going on here.

Dominik fyi and thanks @creamdory for filing issue:

Branding the Erp Next

UndefinedError: ‘ldap_settings’ is undefined · Issue #4851 · frappe/frappe · GitHub

1 Like