Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'last_activity' doesn't have a default value in C:\OSPanel\home\orstet\models\OnlineStatus.php:48
Stack trace:
#0 C:\OSPanel\home\orstet\models\OnlineStatus.php(48): PDOStatement->execute(Array)
#1 C:\OSPanel\home\orstet\controllers\BaseController.php(13): OnlineStatus->updateStatus(NULL)
#2 C:\OSPanel\home\orstet\controllers\BaseController.php(7): BaseController->updateUserActivity()
#3 C:\OSPanel\home\orstet\controllers\AuthController.php(15): BaseController->__construct()
#4 C:\OSPanel\home\orstet\core\Router.php(93): AuthController->__construct()
#5 C:\OSPanel\home\orstet\core\Router.php(46): Router->executeRoute('AuthController', 'login')
#6 C:\OSPanel\home\orstet\index.php(53): Router->dispatch()
#7 {main}
thrown in C:\OSPanel\home\orstet\models\OnlineStatus.php on line 48