I'm seeing this error:
if (countClassmembersExcept(player, newTeam, desiredClass) < global.classlimits[desiredClass])
^
at position 70: Unknown variable classlimits or array index out of bounds
This occurs pretty consistently after keeping the server up for a while. It doesn't seem to be triggered by violating classlimits or anything like that; putting up a server, I can switch to every class, and if I set the classlimit for a class to 0 and try to switch to that class, it behaves properly (assigning a random class). I believe at the time of the most recent crash, there were 5 players on the server, certainly not enough to cause anything bizarre like every classlimit being full.