Reputation: 3982
I followed the steps to install FOSUserBundle and (NmnMultiUserBundle , to be able to have multiple user classes).
After finishing the steps of installing NmnMultiUserBundle and trying to get the new schema (doctrine:schema:update --dump-sql) I got the following exception from the console:
[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
The service "nmn_user.manager.user_discriminator" has a dependency on a non-existent parameter "nmn_user_discriminator_parameters".
I thought it was the cache, so did a cache:clear
but it also gave me the exception.
Does anybody know the reason for that?
Upvotes: 0
Views: 3312
Reputation: 7745
You forgot one step of the bundle installation, see https://github.com/netmeansnet/NmnMultiUserBundle/blob/master/Resources/doc/index.md#6-configure-parameters-for-userdiscriminator
Upvotes: 1