Skip to content

Unclear error description when running php bin/console bolt:setup #2514

@mcdennem

Description

@mcdennem

When running php bin/console bolt:setup, it's asking you to fill in a username, password, email and display name. Email is not required, but if you leave this blank, the fixtures won't be installed and gives you a unclear error description:
Argument 3 passed to Bolt\Repository\UserRepository::factory() must be of the type string, null given, called in C:\Users\Dennis\PhpstormProjects\test-embed\vendor\bolt\core\src\Command\AddUserCommand.php on line 213 .

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