[2026-06-21 00:00:59] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/npa: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.balance' in 'field list' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT l.id, l....')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(435): Database->query('SELECT l.id, l....', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->npaReport()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'npaReport')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/npa')
#5 {main}
[2026-06-21 00:02:25] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/npa: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.created_by' in 'on clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT l.id, l....')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(435): Database->query('SELECT l.id, l....', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->npaReport()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'npaReport')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/npa')
#5 {main}
[2026-06-21 00:02:27] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/npa: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.created_by' in 'on clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT l.id, l....')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(435): Database->query('SELECT l.id, l....', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->npaReport()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'npaReport')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/npa')
#5 {main}
[2026-06-21 00:24:03] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/journal: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'intentfx_microfinance.chart_accounts' doesn't exist in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, code...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(569): Database->query('SELECT id, code...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->journal()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'journal')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/jou...')
#5 {main}
[2026-06-21 00:26:02] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/journal: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, code...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(569): Database->query('SELECT id, code...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->journal()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'journal')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/jou...')
#5 {main}
[2026-06-21 00:26:03] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/journal: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, code...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(569): Database->query('SELECT id, code...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->journal()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'journal')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/jou...')
#5 {main}
[2026-06-21 11:46:31] [error] [helpers.php:73] [IP:::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-21 11:46:44] [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\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(42): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin\app\Services\NotificationService.php(51): db()
#3 C:\xampp\htdocs\ai_admin\app\Controllers\NotificationController.php(29): NotificationService::unreadCount()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): NotificationController->unreadCount()
#5 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('NotificationCon...', 'unreadCount')
#6 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/notifications/...')
#7 {main}
[2026-06-21 11:47:32] [error] [helpers.php:73] [IP:::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-21 11:47: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\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(42): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin\app\Services\NotificationService.php(51): db()
#3 C:\xampp\htdocs\ai_admin\app\Controllers\NotificationController.php(29): NotificationService::unreadCount()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): NotificationController->unreadCount()
#5 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('NotificationCon...', 'unreadCount')
#6 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/notifications/...')
#7 {main}
[2026-06-21 11:48:31] [error] [helpers.php:73] [IP:::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-21 11:48:34] [error] [helpers.php:73] [IP:::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-21 11:48:39] [error] [helpers.php:73] [IP:::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-21 11:48:40] [error] [helpers.php:73] [IP:::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-21 11:48:44] [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\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(42): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin\app\Services\NotificationService.php(51): db()
#3 C:\xampp\htdocs\ai_admin\app\Controllers\NotificationController.php(29): NotificationService::unreadCount()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): NotificationController->unreadCount()
#5 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('NotificationCon...', 'unreadCount')
#6 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/notifications/...')
#7 {main}
[2026-06-21 11:48:56] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /loans: 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\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(42): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin\app\Controllers\LoanController.php(33): db()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): LoanController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('LoanController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/loans')
#6 {main}
[2026-06-21 11:49:05] [error] [helpers.php:73] [IP:::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-21 11:49:09] [error] [helpers.php:73] [IP:::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-21 11:49:09] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /loans/15: 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\app\Models\Database.php:51
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(57): Database->__construct()
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(42): Database::getInstance()
#2 C:\xampp\htdocs\ai_admin\app\Controllers\LoanController.php(227): db()
#3 C:\xampp\htdocs\ai_admin\app\Controllers\LoanController.php(244): LoanController->refreshEmiStatuses(15)
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): LoanController->show('15')
#5 C:\xampp\htdocs\ai_admin\app\Core\Router.php(35): Router->callAction('LoanController', 'show', Array)
#6 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/loans/15')
#7 {main}
[2026-06-21 12:13:57] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.created_by' in 'on clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT e.*, ec....')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(97): Database->query('SELECT e.*, ec....', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:29:49] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/cashbook: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cb.txn_date' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(38): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->cashbook()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'cashbook')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/cas...')
#5 {main}
[2026-06-21 12:33:07] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.created_by' in 'on clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT e.*, ec....')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(97): Database->query('SELECT e.*, ec....', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:34:45] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.created_by' in 'on clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT e.*, ec....')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(97): Database->query('SELECT e.*, ec....', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:36:38] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, name...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(112): Database->query('SELECT id, name...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:36:39] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, name...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(112): Database->query('SELECT id, name...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:36:40] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, name...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(112): Database->query('SELECT id, name...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:36:47] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, name...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(112): Database->query('SELECT id, name...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:36:50] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, name...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(112): Database->query('SELECT id, name...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 12:56:54] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/expenses: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT id, name...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(112): Database->query('SELECT id, name...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->expenses()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'expenses')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/exp...')
#5 {main}
[2026-06-21 13:05:50] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/profit-loss: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'intentfx_microfinance.loan_collections' doesn't exist in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(203): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->profitLoss()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'profitLoss')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/pro...')
#5 {main}
[2026-06-21 13:08:22] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/balance-sheet: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'setting_key' in 'field list' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT setting_...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(337): Database->query('SELECT setting_...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->balanceSheet()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'balanceSheet')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/bal...')
#5 {main}
[2026-06-21 13:09:56] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/balance-sheet: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'setting_key' in 'field list' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT setting_...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(337): Database->query('SELECT setting_...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->balanceSheet()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'balanceSheet')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/bal...')
#5 {main}
[2026-06-21 13:09:58] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/balance-sheet: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'setting_key' in 'field list' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT setting_...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(337): Database->query('SELECT setting_...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->balanceSheet()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'balanceSheet')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/bal...')
#5 {main}
[2026-06-21 13:09:59] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/balance-sheet: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'setting_key' in 'field list' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('SELECT setting_...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(337): Database->query('SELECT setting_...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->balanceSheet()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'balanceSheet')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/bal...')
#5 {main}
[2026-06-21 13:18:46] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /accounting/trial-balance: TypeError: format_currency(): Argument #1 ($amount) must be of type float, null given, called in C:\xampp\htdocs\ai_admin\views\accounting\trial_balance.php on line 35 in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:633
#0 C:\xampp\htdocs\ai_admin\views\accounting\trial_balance.php(35): format_currency(NULL)
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(652): require('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(556): view('accounting/tria...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->trialBalance()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'trialBalance')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/tri...')
#6 {main}
