/user_avatar returns HTTP 500 after new update

Yeah, this is so weird.