script enforcer/server problem

Ok when script enforcer is on the server then this error is displayed ridiculously.

[gamemodes\base\gamemode\cl_init.lua:447] attempt to call global ‘ValidEntity’ (a nil value)(Hook: CalcView)
[gamemodes\sandbox\gamemode\scoreboard\scoreboard.lua:72] attempt to index global ‘draw’ (a nil value)
[gamemodes\sandbox\gamemode\scoreboard\player_row.lua:53] attempt to call global ‘Color’ (a nil value)
[gamemodes\sandbox\gamemode\scoreboard\vote_button.lua:76] attempt to call global ‘Color’ (a nil value)
CLIENT: 4 active EHandles!

If not then everything runs fine.

Can someone please help me.

make sure sv_scriptenforcer “1” is in the server.cfg when you change map, if that doesn’t work then delete the sandbox and base gamemode and update it using hldsupdatetool.exe!