-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
The service ".service_locator.VS38E50" has a dependency on a non-existent service "Gos\Bundle\WebSocketBundle\Pusher\Wamp\WampPusher". #456
Comments
Truthfully, I've never messed with the You might be better off injecting the pusher as an argument to your controller instead of using the |
thanks for answer, but when I try inject pusher as argument to my controller in costructor
I get this error:
And When I try get service by name
I get error:
but when I try bin/console debug:container gos_web_socket.pusher, service exist
Some idea? Thanks very much |
You can't use autowiring to inject pushers, they all share a common interface (and are decorated in debug mode) so nothing can reliably set an alias to |
I am sorry, I am newbie in symfony and I am not sure how do you think exactly. I have registered only one pusher (wamp)
You say that I have to manually define argument in my config like this?
My controller
but I get error:
|
Same issue on prestashop v8.0.0 built on symfony The service "PrestaShopBundle\Security\OAuth2\Repository\ClientRepository" has a dependency on a non-existent service "security.user.provider.concrete.oauth2". |
services.yml
MyController.php
When I have method getSubscribedServices in my controller and clear cache I get following error:
The service ".service_locator.VS38E50" has a dependency on a non-existent service "Gos\Bundle\WebSocketBundle\Pusher\Wamp\WampPusher".
Missing something in my config?
The text was updated successfully, but these errors were encountered: