LUA ERROR: attempt to call a nil value
Prevent errors like these from showing up, they give literally no information on the cause of the problem and are almost impossible to remove on big scripts.
I'm not supposed to place debug messages on my entire script for an hour just to find one syntax problem.