START getRandomPinCode()
6122
Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'userId' cannot be null in /home/nhmsvnet/public_html/games.nhmsv.net/app/core/database.php:22
Stack trace:
#0 /home/nhmsvnet/public_html/games.nhmsv.net/app/core/database.php(22): PDOStatement->execute()
#1 /home/nhmsvnet/public_html/games.nhmsv.net/app/core/model.php(40): Database->query()
#2 /home/nhmsvnet/public_html/games.nhmsv.net/app/controllers/Game.php(88): Model\Model->insert()
#3 /home/nhmsvnet/public_html/games.nhmsv.net/app/core/app.php(41): Controller\Game->new()
#4 /home/nhmsvnet/public_html/games.nhmsv.net/public/index.php(7): App->__construct()
#5 {main}
thrown in /home/nhmsvnet/public_html/games.nhmsv.net/app/core/database.php on line 22