Skip to content

Symfony requires that you provide a value for the $passwordEncoder argument #23033

@shahzadthathal

Description

@shahzadthathal

I'm following this article for simple registration form but getting this error when accessing the URL: http://localhost/symfony-app/web/app_dev.php/en/register

Controller "AppBundle\Controller\RegistrationController::registerAction()" requires that you provide a value for the "$passwordEncoder" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or because there is a non optional argument after this one. 500 Internal Server Error - RuntimeException

How can I fix this?

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