Fatal error: Uncaught ArgumentCountError: Too few arguments to function Models\Testmodel::__construct(), 0 passed in /home/sachinecarter/public_html/TRAINING PROJECT/testing/controllers/testcontroller.php on line 19 and exactly 1 expected in /home/sachinecarter/public_html/TRAINING PROJECT/testing/models/Testmodel.php:28
Stack trace:
#0 /home/sachinecarter/public_html/TRAINING PROJECT/testing/controllers/testcontroller.php(19): Models\Testmodel->__construct()
#1 /home/sachinecarter/public_html/TRAINING PROJECT/testing/index.php(8): include('/home/sachineca...')
#2 {main}
thrown in /home/sachinecarter/public_html/TRAINING PROJECT/testing/models/Testmodel.php on line 28