CRITICAL - 2022-08-03 09:52:34 --> Undefined property: App\Modules\Backend\Models\AccountModel::$mainAccount #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(390): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined prope...', 'C:\\wamp64\\www\\a...', 390, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(273): App\Modules\Backend\Models\AccountModel->createNewAccount() #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(235): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #3 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(102): App\Modules\Backend\Models\AccountModel->submitValidation() #4 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #5 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #6 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #7 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #8 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #9 {main} CRITICAL - 2022-08-03 09:53:19 --> Unknown column 'sub_account_code' 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(401): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(273): App\Modules\Backend\Models\AccountModel->createNewAccount() #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(235): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(102): App\Modules\Backend\Models\AccountModel->submitValidation() #9 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #12 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #13 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #14 {main} CRITICAL - 2022-08-03 09:54:30 --> Unknown column 'account_name' 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(401): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(273): App\Modules\Backend\Models\AccountModel->createNewAccount() #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(235): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(102): App\Modules\Backend\Models\AccountModel->submitValidation() #9 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #12 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #13 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #14 {main} CRITICAL - 2022-08-03 09:55:13 --> 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(342): App\Libraries\CrudQuery->read_rowdata_by_id(NULL, 1) #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(409): App\Modules\Backend\Models\AccountModel->getAccountDetail(1) #3 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(273): App\Modules\Backend\Models\AccountModel->createNewAccount() #4 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(235): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #5 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(102): App\Modules\Backend\Models\AccountModel->submitValidation() #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #7 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #8 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #10 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #11 {main} CRITICAL - 2022-08-03 09:55:54 --> 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(429): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(416): App\Modules\Backend\Models\AccountModel->createLog('ams_modules_acc...', Array) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(273): App\Modules\Backend\Models\AccountModel->createNewAccount() #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(235): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #9 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(102): App\Modules\Backend\Models\AccountModel->submitValidation() #10 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #12 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #13 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #14 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #15 {main} CRITICAL - 2022-08-03 09:59:03 --> Unknown column 'log_enty' 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(431): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(418): App\Modules\Backend\Models\AccountModel->createLog('ams_modules_acc...', Array) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(275): App\Modules\Backend\Models\AccountModel->createNewAccount() #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(237): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #9 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(102): App\Modules\Backend\Models\AccountModel->submitValidation() #10 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #12 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #13 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #14 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #15 {main} CRITICAL - 2022-08-03 10:14:42 --> utf8_encode() expects parameter 1 to be string, array given #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'utf8_encode() e...', 'C:\\wamp64\\www\\a...', 104, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(104): utf8_encode(Array) #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-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-03 10:15:17 --> json_decode() expects parameter 1 to be string, array given #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'json_decode() e...', 'C:\\wamp64\\www\\a...', 104, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(104): json_decode(Array) #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(35): App\Modules\Backend\Controllers\Account->newAccount() #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-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-03 12:00:01 --> 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(false) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(345): App\Libraries\CrudQuery->read_rowdata_by_id(false, 7) #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(412): App\Modules\Backend\Models\AccountModel->getAccountDetail(7) #3 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(276): App\Modules\Backend\Models\AccountModel->createNewAccount() #4 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(237): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #5 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(36): App\Modules\Backend\Models\AccountModel->submitValidation() #6 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #7 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #8 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #9 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #10 {main} CRITICAL - 2022-08-03 12:01:18 --> Unknown column 'account_code' in 'field list' #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\MySQLi\Connection.php(314): mysqli->query('SELECT `account...') #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(713): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `account...') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseConnection.php(641): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `account...') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Database\BaseBuilder.php(1866): CodeIgniter\Database\BaseConnection->query('SELECT `account...', Array, false) #4 C:\wamp64\www\accounting-system-first\app\Libraries\CrudQuery.php(405): CodeIgniter\Database\BaseBuilder->get() #5 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(506): App\Libraries\CrudQuery->generate_random_code(15, 'ams_modules_acc...', 'account_code') #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(441): App\Modules\Backend\Models\AccountModel->generateCode('ams_modules_acc...') #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(277): App\Modules\Backend\Models\AccountModel->createSubAccountUnderMainAccount(8) #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(237): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #9 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(36): App\Modules\Backend\Models\AccountModel->submitValidation() #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #12 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #13 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #14 {main} CRITICAL - 2022-08-03 12:03:04 --> Unknown column 'user_last_modify' 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(463): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(277): App\Modules\Backend\Models\AccountModel->createSubAccountUnderMainAccount(9) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(237): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(36): App\Modules\Backend\Models\AccountModel->submitValidation() #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #12 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #13 {main} CRITICAL - 2022-08-03 12:04:37 --> Undefined property: App\Modules\Backend\Models\AccountModel::$subLogTable #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(477): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined prope...', 'C:\\wamp64\\www\\a...', 477, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(277): App\Modules\Backend\Models\AccountModel->createSubAccountUnderMainAccount(10) #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(237): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #3 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(36): App\Modules\Backend\Models\AccountModel->submitValidation() #4 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #5 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #6 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #7 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #8 {main} CRITICAL - 2022-08-03 12:05:18 --> Duplicate entry '0' for key 'sub_account_code' #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(466): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(280): App\Modules\Backend\Models\AccountModel->createSubAccountUnderMainAccount(11) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(240): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(36): App\Modules\Backend\Models\AccountModel->submitValidation() #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #12 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #13 {main} CRITICAL - 2022-08-03 12:06:08 --> Unknown column 'sub_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(436): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(480): App\Modules\Backend\Models\AccountModel->createLog('ams_modules_acc...', Array) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(280): App\Modules\Backend\Models\AccountModel->createSubAccountUnderMainAccount(1) #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(240): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #9 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(36): App\Modules\Backend\Models\AccountModel->submitValidation() #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #12 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #13 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #14 {main} CRITICAL - 2022-08-03 12:06:53 --> Duplicate entry '0' for key 'sub_account_code' #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(466): App\Libraries\CrudQuery->create('ams_modules_acc...', Array) #6 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(280): App\Modules\Backend\Models\AccountModel->createSubAccountUnderMainAccount(2) #7 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Models\AccountModel.php(240): App\Modules\Backend\Models\AccountModel->newAccountTypeDecision('create') #8 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(36): App\Modules\Backend\Models\AccountModel->submitValidation() #9 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('new-account') #10 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #11 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #12 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #13 {main} CRITICAL - 2022-08-03 17:19:30 --> Trying to get property 'id' of non-object #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(144): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Trying to get p...', 'C:\\wamp64\\www\\a...', 144, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(40): App\Modules\Backend\Controllers\Account->editAccount('aaa') #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('edit-account', 'aaa') #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}