[2026-06-10 09:04:21] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /: InvalidArgumentException: Unknown table: 'approval_requests' in C:\xampp\htdocs\ai_admin_final\app\Models\Database.php:89
#0 C:\xampp\htdocs\ai_admin_final\app\Models\Database.php(175): Database::validateTable('approval_reques...')
#1 C:\xampp\htdocs\ai_admin_final\app\Controllers\DashboardController.php(178): Database->count('approval_reques...', 'status = 'pendi...')
#2 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(54): DashboardController->index()
#3 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(24): Router->callAction('DashboardContro...', 'index')
#4 C:\xampp\htdocs\ai_admin_final\public\index.php(276): Router->dispatch('GET', '/')
#5 {main}
[2026-06-10 09:06:09] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /: InvalidArgumentException: Unknown table: 'recovery_actions' in C:\xampp\htdocs\ai_admin_final\app\Models\Database.php:100
#0 C:\xampp\htdocs\ai_admin_final\app\Models\Database.php(186): Database::validateTable('recovery_action...')
#1 C:\xampp\htdocs\ai_admin_final\app\Controllers\DashboardController.php(181): Database->count('recovery_action...', 'status IN ('ini...')
#2 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(54): DashboardController->index()
#3 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(24): Router->callAction('DashboardContro...', 'index')
#4 C:\xampp\htdocs\ai_admin_final\public\index.php(276): Router->dispatch('GET', '/')
#5 {main}
[2026-06-10 09:06:10] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /: InvalidArgumentException: Unknown table: 'recovery_actions' in C:\xampp\htdocs\ai_admin_final\app\Models\Database.php:100
#0 C:\xampp\htdocs\ai_admin_final\app\Models\Database.php(186): Database::validateTable('recovery_action...')
#1 C:\xampp\htdocs\ai_admin_final\app\Controllers\DashboardController.php(181): Database->count('recovery_action...', 'status IN ('ini...')
#2 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(54): DashboardController->index()
#3 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(24): Router->callAction('DashboardContro...', 'index')
#4 C:\xampp\htdocs\ai_admin_final\public\index.php(276): Router->dispatch('GET', '/')
#5 {main}
[2026-06-10 23:50:45] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /notifications/count: RuntimeException: Database connection failed after 3 attempts: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in C:\xampp\htdocs\ai_admin_final\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin_final\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin_final\app\Helpers\helpers.php(22): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin_final\app\Services\NotificationService.php(51): db()
#3 C:\xampp\htdocs\ai_admin_final\app\Controllers\NotificationController.php(29): NotificationService::unreadCount()
#4 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(54): NotificationController->unreadCount()
#5 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(24): Router->callAction('NotificationCon...', 'unreadCount')
#6 C:\xampp\htdocs\ai_admin_final\public\index.php(276): Router->dispatch('GET', '/notifications/...')
#7 {main}
[2026-06-10 23:50:57] [error] [helpers.php:53] [IP:::1] [USER:1] Failed to load settings: Database connection failed after 3 attempts: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
[2026-06-10 23:51:16] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /dashboard/stats: RuntimeException: Database connection failed after 3 attempts: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in C:\xampp\htdocs\ai_admin_final\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin_final\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin_final\app\Helpers\helpers.php(22): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin_final\app\Controllers\DashboardController.php(236): db()
#3 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(54): DashboardController->stats()
#4 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(24): Router->callAction('DashboardContro...', 'stats')
#5 C:\xampp\htdocs\ai_admin_final\public\index.php(276): Router->dispatch('GET', '/dashboard/stat...')
#6 {main}
[2026-06-10 23:51:28] [error] [helpers.php:53] [IP:::1] [USER:1] Failed to load settings: Database connection failed after 3 attempts: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
[2026-06-10 23:51:45] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /notifications/count: RuntimeException: Database connection failed after 3 attempts: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in C:\xampp\htdocs\ai_admin_final\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin_final\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin_final\app\Helpers\helpers.php(22): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin_final\app\Services\NotificationService.php(51): db()
#3 C:\xampp\htdocs\ai_admin_final\app\Controllers\NotificationController.php(29): NotificationService::unreadCount()
#4 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(54): NotificationController->unreadCount()
#5 C:\xampp\htdocs\ai_admin_final\app\Core\Router.php(24): Router->callAction('NotificationCon...', 'unreadCount')
#6 C:\xampp\htdocs\ai_admin_final\public\index.php(276): Router->dispatch('GET', '/notifications/...')
#7 {main}
