Solve this error: The child node “db_driver” at path “fos_user” must be configured.

Do you get this error: The child node "db_driver" at path "fos_user" must be configured? In this tutorial I will explain to you how you can solve this error.

If you get this error The child node "db_driver" at path "fos_user" must be configured when you trying to install FOSUserBundle in Symfony Framework, open your app/config/config.yml file and add this code:

fos_user:
db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
firewall_name: main
user_class: NewBundle\Entity\User

Save the changes and refresh the page of your Symfony's project!

In this way you can solve the error!









Leave a Comment