You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to migrate database with command: php spark.php migrate:latest -all
I get an error: Type: ErrorException Message: Undefined index: HTTP_HOST Filename: /home/*****/vendor/codeigniter4/framework/system/Router/RouteCollection.php Line Number: 1393
CodeIgniter 4 version
CodeIgniter 4.0.0-alpha.5 (appstarter, framework and devstarter projects)
Affected module(s)
Database Migration
Expected behavior, and steps to reproduce if appropriate
I think when calling Codeigniter from CLI it shouldn't look at RouteCollection::determineCurrentSubdomain . I don't know if it's my Router configuration fault or something else.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to migrate database with command:
php spark.php migrate:latest -all
I get an error:
Type: ErrorException Message: Undefined index: HTTP_HOST Filename: /home/*****/vendor/codeigniter4/framework/system/Router/RouteCollection.php Line Number: 1393
CodeIgniter 4 version
CodeIgniter 4.0.0-alpha.5 (appstarter, framework and devstarter projects)
Affected module(s)
Database Migration
Expected behavior, and steps to reproduce if appropriate
I think when calling Codeigniter from CLI it shouldn't look at RouteCollection::determineCurrentSubdomain . I don't know if it's my Router configuration fault or something else.
The text was updated successfully, but these errors were encountered: