I have this error, could you give me a little hand please.
Code:
PS C:\xampp\htdocs\demoapp> php spark migrate -all
PHP Fatal error: Uncaught TypeError: Argument 1 passed to CodeIgniter\HTTP\URI::setScheme() must be of the type string, null given, called in C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\IncomingRequest.php on line 616 and defined in C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\URI.php:630
Stack trace:
#0 C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\IncomingRequest.php(616): CodeIgniter\HTTP\URI->setScheme(NULL)
#1 C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\IncomingRequest.php(184): CodeIgniter\HTTP\IncomingRequest->detectURI('REQUEST_URI', 'localhost/demoa...')
#2 C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\Config\Services.php(607): CodeIgniter\HTTP\IncomingRequest->__construct(Object(Config\App), Object(CodeIgniter\HTTP\URI), '', Object(CodeIgniter\HTTP\UserAgent))
#3 C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\Config\BaseService.php(123): CodeIgniter\Config\Services::request(Object(Config\App), false)
#4 in C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\URI.php on line 630
Fatal error: Uncaught TypeError: Argument 1 passed to CodeIgniter\HTTP\URI::setScheme() must be of the type string, null given, called in C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\IncomingRequest.php on line 616 and defined in C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\URI.php on line 630
TypeError: Argument 1 passed to CodeIgniter\HTTP\URI::setScheme() must be of the type string, null given, called in C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\IncomingRequest.php on line 616 in C:\xampp\htdocs\demoapp\vendor\codeigniter4\framework\system\HTTP\URI.php on line 630