denhaagSyntax error, unexpected token ), near to ')) ORDER BY creationdate DESC LIMIT :APL0:', when parsing: SELECT [Bericht].* FROM [Bericht] WHERE (categoryid = "de0de598-d056-4462-8ccc-8d5711b75140" AND lokaalverzoek = 1 OR (lokaal = 1 AND ))) ORDER BY creationdate DESC LIMIT :APL0: (178)