While searching for the error, I did a file rollback, which means some of the avatars are likely gone. None of the posts were lost.
The error was related to a syntax highlighter hook, which I attempted to install half a year ago, but it never worked. Now it suddenly decided to start working. And by working I mean breaking.
If you see anything weird that wasn't there before, PM me or send me an email.