I am trying to use sonataNotificationBundle, I did all configurations as mentioned in documentation, but I am getting following error,
Unrecognized options swift_mailer under sonata_notification.consumers
Before that I was getting
Unrecognized options consumer under sonata_notification
I dig in to sonata/NotificationBundle/DependencyInjection/Configuration.php, there
->arrayNode('consumers')
is written in code but in documentation it is "consumer"
http://sonata-project.org/bundles/notification/2-1/doc/reference/advanced_configuration.html
I changed to it "consumers" after that I am now getting below error
Unrecognized options swift_mailer under sonata_notification.consumers
This is a typo in the doc (swift_mailer is a 2.0 configuration, the doc is not up to date at all), you can fork and edit it.
Just delete the consumers option in the configuration file.