DarkRP problem

I am running DarkRP 2.3.5 on my server, and whenever I try to add custom classes the F4 menu breaks, and the classes break. The only way to fix it is to re-install darkRP.

Error:

DarkRP\gamemode\showteamtabs.lua:437: bad argument #1 to ‘ipairs’ (table expected, got nil)