Stack Error

I keep having this error while i join my server.
When you join the server the screen is just black and you get this error message in the right corner.

Stack Error: 1 values left on Stack!
0> Type: nil - Value: ‘(null)’

Anyone know what this is and how to fix it?

Thanks