Syntax error, unexpected token ), near to ' and deleted = 0', when parsing: SELECT id, slug FROM [MyApp\Model\Tags] WHERE (website_id = 2620 or website_id = ) and deleted = 0 (99)