[2026-07-12 14:44:39] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /whatsapp-ai/chat: PDOException: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation 'like' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:108
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(108): PDO->prepare('\n            SE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\WhatsAppChatController.php(13): Database->query('\n            SE...')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): WhatsAppChatController->index()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('WhatsAppChatCon...', 'index')
#4 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/whatsapp-ai/ch...')
#5 {main}
[2026-07-12 14:47:48] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /whatsapp-ai/chat/fetch: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:119
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(119): PDO->prepare('\n            SE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\WhatsAppChatController.php(47): Database->queryOne('\n            SE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): WhatsAppChatController->fetchChat()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('WhatsAppChatCon...', 'fetchChat')
#4 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/whatsapp-ai/ch...')
#5 {main}
[2026-07-12 14:47:51] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /whatsapp-ai/chat/fetch: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:119
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(119): PDO->prepare('\n            SE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\WhatsAppChatController.php(47): Database->queryOne('\n            SE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): WhatsAppChatController->fetchChat()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('WhatsAppChatCon...', 'fetchChat')
#4 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/whatsapp-ai/ch...')
#5 {main}
[2026-07-12 14:47:58] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /whatsapp-ai/chat/fetch: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:119
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(119): PDO->prepare('\n            SE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\WhatsAppChatController.php(47): Database->queryOne('\n            SE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): WhatsAppChatController->fetchChat()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('WhatsAppChatCon...', 'fetchChat')
#4 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/whatsapp-ai/ch...')
#5 {main}
[2026-07-12 14:48:04] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /whatsapp-ai/chat/fetch: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:119
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(119): PDO->prepare('\n            SE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\WhatsAppChatController.php(47): Database->queryOne('\n            SE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): WhatsAppChatController->fetchChat()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('WhatsAppChatCon...', 'fetchChat')
#4 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/whatsapp-ai/ch...')
#5 {main}
[2026-07-12 15:13:44] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /customers/1/edit: ParseError: syntax error, unexpected token "\", expecting "," or ";" in C:\xampp\htdocs\ai_admin\views\customers\edit.php:69
#0 C:\xampp\htdocs\ai_admin\app\Controllers\CustomerController.php(543): view('customers/edit', Array)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): CustomerController->edit('1')
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(35): Router->callAction('CustomerControl...', 'edit', Array)
#3 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/customers/1/ed...')
#4 {main}
[2026-07-12 18:18:29] [error] [Logger.php:160] [IP:::1] Route dispatch failed: POST /vendors-panel/loans/44/payment-request: Error: Call to undefined method Database::execute() in C:\xampp\htdocs\ai_admin\app\Controllers\VendorPanelController.php:785
#0 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): VendorPanelController->paymentRequest(44)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(35): Router->callAction('VendorPanelCont...', 'paymentRequest', Array)
#2 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('POST', '/vendors-panel/...')
#3 {main}
[2026-07-12 18:19:05] [error] [Logger.php:160] [IP:::1] Route dispatch failed: POST /vendors-panel/loans/44/payment-request: Error: Call to undefined method Database::execute() in C:\xampp\htdocs\ai_admin\app\Controllers\VendorPanelController.php:785
#0 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): VendorPanelController->paymentRequest(44)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(35): Router->callAction('VendorPanelCont...', 'paymentRequest', Array)
#2 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('POST', '/vendors-panel/...')
#3 {main}
[2026-07-12 18:25:40] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /vendor-payments: Error: Call to undefined function require_admin() in C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php:5
#0 C:\xampp\htdocs\ai_admin\app\Core\Router.php(53): AdminVendorPaymentController->__construct()
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AdminVendorPaym...', 'index')
#2 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/vendor-payment...')
#3 {main}
[2026-07-12 18:26:53] [error] [Logger.php:160] [IP:::1] Route dispatch failed: GET /vendors-panel/payment-requests: Error: Call to undefined method Database::queryAll() in C:\xampp\htdocs\ai_admin\app\Controllers\VendorPanelController.php:766
#0 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): VendorPanelController->paymentRequestsList()
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('VendorPanelCont...', 'paymentRequests...')
#2 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/vendors-panel/...')
#3 {main}
[2026-07-12 18:30:33] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /vendor-payments: Error: Call to undefined method Database::queryAll() in C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php:18
#0 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AdminVendorPaymentController->index()
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AdminVendorPaym...', 'index')
#2 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/vendor-payment...')
#3 {main}
[2026-07-12 18:31:39] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /vendor-payments: Error: Failed opening required 'C:\xampp\htdocs\ai_admin\app\Helpers/../../views/partials/footer.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:785
#0 C:\xampp\htdocs\ai_admin\views\admin\vendor_payments\index.php(88): view('partials/footer')
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(785): require('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php(21): view('admin/vendor_pa...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AdminVendorPaymentController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AdminVendorPaym...', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/vendor-payment...')
#6 {main}
[2026-07-12 18:31:48] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /vendor-payments: Error: Failed opening required 'C:\xampp\htdocs\ai_admin\app\Helpers/../../views/partials/footer.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:785
#0 C:\xampp\htdocs\ai_admin\views\admin\vendor_payments\index.php(88): view('partials/footer')
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(785): require('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php(21): view('admin/vendor_pa...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AdminVendorPaymentController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AdminVendorPaym...', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/vendor-payment...')
#6 {main}
[2026-07-12 18:32:58] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /vendor-payments: Error: Failed opening required 'C:\xampp\htdocs\ai_admin\app\Helpers/../../views/partials/footer.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:785
#0 C:\xampp\htdocs\ai_admin\views\admin\vendor_payments\index.php(87): view('partials/footer')
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(785): require('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php(21): view('admin/vendor_pa...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AdminVendorPaymentController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AdminVendorPaym...', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/vendor-payment...')
#6 {main}
[2026-07-12 18:33:02] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /vendor-payments: Error: Failed opening required 'C:\xampp\htdocs\ai_admin\app\Helpers/../../views/partials/footer.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:785
#0 C:\xampp\htdocs\ai_admin\views\admin\vendor_payments\index.php(87): view('partials/footer')
#1 C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php(785): require('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php(21): view('admin/vendor_pa...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AdminVendorPaymentController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AdminVendorPaym...', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('GET', '/vendor-payment...')
#6 {main}
[2026-07-12 18:44:01] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: POST /vendor-payments/1/approve: Error: Call to undefined function user_id() in C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php:32
#0 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AdminVendorPaymentController->approve(1)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(35): Router->callAction('AdminVendorPaym...', 'approve', Array)
#2 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('POST', '/vendor-payment...')
#3 {main}
[2026-07-12 18:45:41] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: POST /vendor-payments/1/approve: Error: Call to undefined method Database::pdo() in C:\xampp\htdocs\ai_admin\app\Controllers\AdminVendorPaymentController.php:45
#0 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AdminVendorPaymentController->approve(1)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(35): Router->callAction('AdminVendorPaym...', 'approve', Array)
#2 C:\xampp\htdocs\ai_admin\public\index.php(328): Router->dispatch('POST', '/vendor-payment...')
#3 {main}
