CRITICAL - 2022-08-29 16:43:35 --> Too few arguments to function App\Config\CmsFormConfig::__construct(), 0 passed in C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Config\Factories.php on line 114 and exactly 1 expected #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Config\Factories.php(114): App\Config\CmsFormConfig->__construct() #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Common.php(225): CodeIgniter\Config\Factories::__callStatic('config', Array) #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Stock.php(128): config('CmsFormConfig') #3 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Stock.php(47): App\Modules\Backend\Controllers\Stock->newStock() #4 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Stock->index('new-stock') #5 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Stock)) #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-29 16:44:32 --> Too few arguments to function App\Config\CmsFormConfig::__construct(), 0 passed in C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Config\Factories.php on line 114 and exactly 1 expected #0 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Config\Factories.php(114): App\Config\CmsFormConfig->__construct() #1 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\Common.php(225): CodeIgniter\Config\Factories::__callStatic('config', Array) #2 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Stock.php(128): config('CmsFormConfig') #3 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Stock.php(47): App\Modules\Backend\Controllers\Stock->newStock() #4 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Stock->index('new-stock') #5 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Stock)) #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-29 16:44:43 --> Undefined property: App\Config\CmsFormConfig::$newStockForm #0 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Stock.php(128): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined prope...', 'C:\\wamp64\\www\\a...', 128, Array) #1 C:\wamp64\www\accounting-system-first\app\Modules\Backend\Controllers\Stock.php(47): App\Modules\Backend\Controllers\Stock->newStock() #2 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(936): App\Modules\Backend\Controllers\Stock->index('new-stock') #3 C:\wamp64\www\accounting-system-first\vendor\codeigniter4\framework\system\CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Modules\Backend\Controllers\Stock)) #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}