after updating composer and after that run project by using spark get error

Viewed 11

in codegnitor 4 by using command prompt i have update composer and after that , i try to run codeigniot 4 project using php spark serve but it display fatal error :

eg: PHP Fatal error: Uncaught TypeError: CodeIgniter\CLI\Console::__construct(): Argument #1 ($app) must be of type CodeIgniter\CodeIgniter, int given, called in C:\Bitnami\wampstack-8.0.3-2\apache2\htdocs\project\spark on line 48 and defined in C:\Bitnami\wampstack-8.0.3-2\apache2\htdocs\project\vendor\codeigniter4\framework\system\CLI\Console.php:29 Stack trace: #0 C:\Bitnami\wampstack-8.0.3-2\apache2\htdocs\project\spark(48): CodeIgniter\CLI\Console->__construct() #1 {main} thrown in C:\Bitnami\wampstack-8.0.3-2\apache2\htdocs\project\vendor\codeigniter4\framework\system\CLI\Console.php on line 29

0 Answers
Related