Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null in E:\Programs\xamp\htdocs\live\store\config\functions.php:1286
Stack trace:
#0 E:\Programs\xamp\htdocs\live\store\config\functions.php(1286): PDOStatement->execute(Array)
#1 E:\Programs\xamp\htdocs\live\store\social\login-reward.php(53): insertLoginReward(NULL)
#2 {main}
thrown in E:\Programs\xamp\htdocs\live\store\config\functions.php on line 1286