HI! HELP
My on production 5.1 sugarcrm CE is displaying that error on login:

Query Failed: AND users.id = 'ab7b4a18-87a0-2f07-0fb4-4868c775ad0f'::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND users.id = 'ab7b4a18-87a0-2f07-0fb4-4868c775ad0f'' at line 1