CRITICAL - 2022-08-05 15:05:00 --> Undefined index: account-switch #0 C:\wamp64\www\accounting-system-first\app\Controllers\BaseController.php(185): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined index...', 'C:\\wamp64\\www\\a...', 185, Array) #1 C:\wamp64\www\accounting-system-first\app\Controllers\BaseController.php(508): App\Controllers\BaseController->backend_layout_location('account-switch') #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Account.php(66): App\Controllers\BaseController->renderPage(Array, Array, true, Array, Array) #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('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-05 15:05:54 --> Call to undefined method App\Modules\Backend\Models\AccountModel::switchAccountValidation() #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #3 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #4 {main} CRITICAL - 2022-08-05 15:05:54 --> Call to undefined method App\Modules\Backend\Models\AccountModel::switchAccountValidation() #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Account->index('switch-account') #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Account)) #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #3 C:\wamp64\www\accounting-system-first\public\index.php(45): CodeIgniter\CodeIgniter->run() #4 {main}