Welcome Guest, Not a member yet? Register   Sign In
Basic App - Free CMS on CodeIgniter 4
#53

(This post was last modified: 05-27-2020, 09:33 AM by jreklund.)

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
Reply


Messages In This Thread
RE: Basic App - Free CMS on CodeIgniter 4 - by michaeldabad - 05-26-2020, 03:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB