Skip to content

spark migrate:latest ErrorException alpha5 #1724

Description

@d4mn

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions