That seems strange. How did you upgrade exactly?
In reply to Emma Richardson
Re: Syntax Error Regarding Manual User Enrolment
Dear Emma,
We didn't upgrade the Moodle. It was working fine and then it started this behaviour.