Custom login page doesn't work


I was trying to make my own login page but now it looks like this… and I cannot go to the desk part of the app. Do you know why? Thanks in advance

| traceback.print_stack()
19:04:13 web.1 | Error in query:
19:04:13 web.1 | (‘SELECT name FROM tabSettings WHERE route=%(param1)s AND is_published=1 ORDER BY creation DESC LIMIT 1’, {‘param1’: ‘login’})
It returns me this error