Too many Lua errors! Server Kicking

Been working on a server. I just started getting into joining it myself and I’ve noticed a problem. If a client gets 1 lua error, the server will kick you and say “Too many lua errors!”. I heard about this before but never experienced it for the last couple of months since the update that put this into effect. The error is coming from the gamemode itself, and I’ve gotten it in single player as well but never noticed any problems it was causing.

So how do I go about disabling this, as it’s not really useful for anything. It is next to impossible to host anything without experiencing some lua errors every now and then.

EDIT: sv_kickerrornum 0