CRITICAL - 2022-08-08 09:58:40 --> You must set the database table to be used with your query. #0 C:\wamp64\www\accounting-system-first\app\Libraries\CrudQuery.php(246): CodeIgniter\Database\BaseConnection->table(NULL) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(330): App\Libraries\CrudQuery->read_rowdata_by_id(NULL, NULL, Array, 'account_code') #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(276): App\Modules\Backend\Models\AccountModel->accountDetailByAccountCode(NULL) #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->ajaxRequest('switch-account') #4 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #5 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #6 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #7 {main} CRITICAL - 2022-08-08 09:59:40 --> Undefined variable: key #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(286): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined varia...', 'C:\\wamp64\\www\\a...', 286, Array) #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->ajaxRequest('switch-account') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #4 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #5 {main} CRITICAL - 2022-08-08 10:01:16 --> Undefined index: result #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(283): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined index...', 'C:\\wamp64\\www\\a...', 283, Array) #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->ajaxRequest('switch-account') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #4 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #5 {main} CRITICAL - 2022-08-08 11:02:49 --> Unknown column 'account_id' in 'field list' #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\MySQLi\Connection.php(314): mysqli->query('INSERT INTO `am...') #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(713): CodeIgniter\Database\MySQLi\Connection->execute('INSERT INTO `am...') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(641): CodeIgniter\Database\BaseConnection->simpleQuery('INSERT INTO `am...') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseBuilder.php(2263): CodeIgniter\Database\BaseConnection->query('INSERT INTO `am...', Array, false) #4 C:\wamp64\www\accounting-system-first\app\Libraries\CrudQuery.php(37): CodeIgniter\Database\BaseBuilder->insert(Array) #5 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(548): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(420): App\Modules\Backend\Models\AccountModel->createLog('ams_modules_acc...', Array) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(37): App\Modules\Backend\Models\AccountModel->switchAccountValidation() #8 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #11 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #12 {main} CRITICAL - 2022-08-08 11:03:29 --> Undefined variable: updateResult #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(423): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined varia...', 'C:\\wamp64\\www\\a...', 423, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(37): App\Modules\Backend\Models\AccountModel->switchAccountValidation() #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #4 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #5 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #6 {main} CRITICAL - 2022-08-08 11:04:17 --> Undefined variable: result #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(289): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined varia...', 'C:\\wamp64\\www\\a...', 289, Array) #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->ajaxRequest('switch-account') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #4 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #5 {main} CRITICAL - 2022-08-08 11:12:45 --> Undefined variable: subAccountLayout #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(292): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined varia...', 'C:\\wamp64\\www\\a...', 292, Array) #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->ajaxRequest('switch-account') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #4 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #5 {main} CRITICAL - 2022-08-08 11:14:49 --> Unknown column 'account_id' in 'field list' #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\MySQLi\Connection.php(314): mysqli->query('INSERT INTO `am...') #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(713): CodeIgniter\Database\MySQLi\Connection->execute('INSERT INTO `am...') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(641): CodeIgniter\Database\BaseConnection->simpleQuery('INSERT INTO `am...') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseBuilder.php(2263): CodeIgniter\Database\BaseConnection->query('INSERT INTO `am...', Array, false) #4 C:\wamp64\www\accounting-system-first\app\Libraries\CrudQuery.php(37): CodeIgniter\Database\BaseBuilder->insert(Array) #5 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(548): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(420): App\Modules\Backend\Models\AccountModel->createLog('ams_modules_acc...', Array) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(37): App\Modules\Backend\Models\AccountModel->switchAccountValidation() #8 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #11 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #12 {main} CRITICAL - 2022-08-08 11:17:35 --> Unknown column 'sub_account_id' in 'field list' #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\MySQLi\Connection.php(314): mysqli->query('INSERT INTO `am...') #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(713): CodeIgniter\Database\MySQLi\Connection->execute('INSERT INTO `am...') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(641): CodeIgniter\Database\BaseConnection->simpleQuery('INSERT INTO `am...') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseBuilder.php(2263): CodeIgniter\Database\BaseConnection->query('INSERT INTO `am...', Array, false) #4 C:\wamp64\www\accounting-system-first\app\Libraries\CrudQuery.php(37): CodeIgniter\Database\BaseBuilder->insert(Array) #5 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(548): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(420): App\Modules\Backend\Models\AccountModel->createLog('ams_modules_acc...', Array) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(37): App\Modules\Backend\Models\AccountModel->switchAccountValidation() #8 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #11 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #12 {main} CRITICAL - 2022-08-08 11:18:25 --> Unknown column 'account_status' in 'field list' #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\MySQLi\Connection.php(314): mysqli->query('INSERT INTO `am...') #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(713): CodeIgniter\Database\MySQLi\Connection->execute('INSERT INTO `am...') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(641): CodeIgniter\Database\BaseConnection->simpleQuery('INSERT INTO `am...') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseBuilder.php(2263): CodeIgniter\Database\BaseConnection->query('INSERT INTO `am...', Array, false) #4 C:\wamp64\www\accounting-system-first\app\Libraries\CrudQuery.php(37): CodeIgniter\Database\BaseBuilder->insert(Array) #5 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(548): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(420): App\Modules\Backend\Models\AccountModel->createLog('ams_modules_acc...', Array) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(37): App\Modules\Backend\Models\AccountModel->switchAccountValidation() #8 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #11 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #12 {main} CRITICAL - 2022-08-08 11:40:54 --> Undefined index: holdCurrentCode #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(136): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined index...', 'C:\\wamp64\\www\\a...', 136, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(40): App\Modules\Backend\Controllers\Account->switchAccount() #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #4 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #5 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #6 {main} CRITICAL - 2022-08-08 12:27:42 --> Undefined index: invoice_sub #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\InvoiceModel.php(33): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined index...', 'C:\\wamp64\\www\\a...', 33, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Invoice.php(28): App\Modules\Backend\Models\InvoiceModel->__construct() #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(908): App\Modules\Backend\Controllers\Invoice->__construct() #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(422): CodeIgniter\CodeIgniter->createController() #4 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #5 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #6 {main}