TTT server broken

So today i tried to modify a “rank” on my scoreboard and out of no where i get like 6 errors so i fix those then after my console is spamming with this error.

what’s happening is the scoreboard does not work you can’t see who is in game it gets stuck on your screen and other glitches etc.

I would love for someone to help me

[ERROR] gamemodes/terrortown/gamemode/vgui/sb_main.lua:238: bad argument #1 to ‘ipairs’ (table expected, got nil)

  1. ipairs - [C]:-1
  2. unknown - gamemodes/terrortown/gamemode/vgui/sb_main.lua:238

(User was banned for this post ("undescriptive thread title" - Gran PC))

The table being called on line 238 doesn’t exist.

Then what do i do to fix it?

Post line 225-235? Can’t fix it if we can’t see it.

here u go http://pastebin.com/jEF73peB