Answer the question
In order to leave comments, you need to log in
Symfony 4.4 fos_user bundle configuration error?
I'm trying to install the FOSUserBundle integration from the Sonata Project according to the official documentation, I also tried different guides but always the same error: There is no extension able to load the configuration for "fos_user".
The documentation says to create a config/packages/fos_user.yaml file with the following content:
fos_user:
db_driver: orm
firewall_name: main
user_class: App\Entity\User
registration:
confirmation:
enabled: false
from_email:
address: '%env(MAILER_USER_ADDRESS)%'
sender_name: '%env(MAILER_USER_NAME)%'
service:
user_manager: sonata.user.orm.user_manager
mailer: 'fos_user.mailer.noop'
group:
group_class: App\Entity\Group
group_manager: sonata.user.orm.group_manager
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question