Weird Error

When ever I make a game that derrived from Sandbox,
I get this error:

ERROR: GAMEMODE:‘PlayerSpawn’ Failed: sandbox/gamemode/init.lua:40: stack overflow

And it stops the ply:Give from working too.

Are you creating your own gamemode?
If so, This should go in the Lua section.

General GMod problem?
Reinstall.

:v: