Notice: Undefined index: id in /var/www/html/application/models/model_christmas.php on line 13

Notice: Undefined index: id in /var/www/html/application/models/model_christmas.php on line 17

Notice: Undefined index: id in /var/www/html/application/models/model_christmas.php on line 21

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'users_id' cannot be null' in /var/www/html/application/models/model_christmas.php:26 Stack trace: #0 /var/www/html/application/models/model_christmas.php(26): PDOStatement->execute(Array) #1 /var/www/html/application/controllers/controller_christmas.php(13): Model_Christmas->get_data() #2 /var/www/html/application/core/route.php(62): Controller_Christmas->action_index() #3 /var/www/html/application/bootstrap.php(7): Route::start() #4 /var/www/html/index.php(19): require_once('/var/www/html/a...') #5 {main} thrown in /var/www/html/application/models/model_christmas.php on line 26