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

framework.messenger config error since symfony 4.3.1 #145

Closed
nils-m opened this issue Jun 20, 2019 · 2 comments
Closed

framework.messenger config error since symfony 4.3.1 #145

nils-m opened this issue Jun 20, 2019 · 2 comments

Comments

@nils-m
Copy link

nils-m commented Jun 20, 2019

Hello,
Upgraded Sylius to 1.5.1 SF 1.5.1 via composer.
Had this error:
Invalid configuration for path "framework.messenger": You must specify the "default_bus" if you define more than one bus.

Setting a default_bus in /vendor/sylius/invoicing-plugin/src/Resources/config/config.yml
fixed the issue.

framework:
     messenger:
        default_bus: sylius_invoicing_plugin.command_bus
        buses:
            sylius_invoicing_plugin.command_bus: ~
            sylius_invoicing_plugin.event_bus:
                default_middleware: allow_no_handlers

Or better in {App}/config/packages/messenger.yaml until fixed in this plugin.

framework:
    messenger:
        default_bus: sylius_invoicing_plugin.command_bus
@AlbertBeweb
Copy link

Thanks :)

@amarmureanuarnia
Copy link

Thanks a lot!

@GSadee GSadee closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants