Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid definition for service HWI\Bundle\OAuthBundle\Controller\Connect\RegisterController #1927

Closed
nicodemuz opened this issue Nov 29, 2022 · 4 comments · Fixed by #1983
Closed
Labels

Comments

@nicodemuz
Copy link

The current master branch gives the following error when running:

php bin/console lint:container --verbose

Error:

[ERROR] Invalid definition for service "HWI\Bundle\OAuthBundle\Controller\Connect\RegisterController": argument 10 of
         "HWI\Bundle\OAuthBundle\Controller\Connect\RegisterController::__construct()" accepts "string", "null" passed.
@nicodemuz
Copy link
Author

A temporary workaround is to add the container parameter:

parameters:
    hwi_oauth.connect.registration_form: ''

Copy link

Message to comment on stale issues. If none provided, will not mark issues stale

@simonberger
Copy link

@nicodemuz I just came just came along to look for this bug. Is this indeed fixed in one of the most recent commits?
2.1.0 still has this issue and I currently cannot test the master because of some update deprecations we have to update as well on our side.

@nicodemuz
Copy link
Author

I'm not sure. I closed it as I'm using the workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants