Please update the code to: ``$container->setAlias('sonata.notification.manager.message', $config['backends']['doctrine']['message_manager']);``