You have forgotten to add the configuration for FOSUserBundle in your app/config/config.yml
or at least did not provide a value for fos_user.db_driver
.
You have to configure at least the db_driver , firewall and your user-class otherwise the configuration will throw an InvalidConfigurationException
.
# app/config/config.yml
fos_user:
db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
firewall_name: main
user_class: Acme\UserBundle\Entity\User
Please see the documentation chapter Step 5: Configure the FOSUserBundle.