Sorry for the delay.
We've seen this error pop up a couple of times in the past, and in each case it was related to syntax used in functions.
Would you be able to try relinking the database to the repository and see if the problem persists?
If you get the same problem, would you be able to zip up your working base folder and send it to firstname.lastname@example.org
You can find the working base folder if you shift+right-click the 'linked to' path on the setup tab. If you include the reference F0054484 in the subject line, it will update the ticket we've opened for you.