• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic App - Free CMS on CodeIgniter 4

#53
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.