Closed crashbtz closed 3 years ago
Hi,
do you have this service specified in src/Resources/config/config.yaml
?
We haven't tested this plugin on Sylius 1.7 though and there might be some issues.
No the service is defined anywhere. But I don't get it, the "bitbag_vue_storefront_plugin.command_bus" service should not be defined in the plugin if you reference it?
Please run bin/console debug:config framework
and send me block related to messenger
here what it says
Have you checked how the plugin behaves on Sylius 1.6? If not, please try. As I mentioned before we had no time to update it to Sylius 1.7 yet, maybe this problem is somehow related.
I also facing the same issue on Sylius 1.6.0
Ok, I'll have a look into this as fast as possible. Thank you!
Hey. The problem will be solved if you create a file: /config/packages/command_bus.yaml
framework:
messenger:
buses:
bitbag_vue_storefront_plugin.command_bus:
middleware:
- doctrine_transaction
Yes indeed or if we import
- { resource: "@SyliusVueStorefrontPlugin/Resources/config/config.yml" }
You have to add the following line to the end of the imports
section in your config/packages/_sylius.yaml
:
- { resource: "@SyliusVueStorefrontPlugin/Resources/config/config.yaml" }
It's also mentioned in the new updated README. I'm closing this one as it's resolved.
Hi,
When I install the plugin on Sylius 1.7.6, I have an error message saying:
The service "bitbag_sylius_vue_storefront_plugin.api.cart.create_cart" has a dependency on a non-existent service "bitbag_vue_storefront_plugin.command_bus".
Am I doing something wrong?
Thanks