I am trying to update doctrine schema after installation FOSUser Bundle 2.0 but I keep getting this error:
In ArrayNode.php line 238:
The child node "db_driver" at path "fos_user" must be configured.
File config.yaml is configurated propertly in location /config/config.yaml:
framework:
translator: ~
fos_user:
db_driver: orm
firewall_name: main
user_class: Entity\User
from_email:
address: "%mailer_user%"
sender_name: "%mailer_user%"
I tried to solve it via official tutorial: http://symfony.com/doc/master/bundles/FOSUserBundle/index.html#prerequisites
I tried to do step 5 first and than rerun step 1. But still the same error.
Any ideas?
try to indent like this:
fos_user:
db_driver: orm
firewall_name: main
user_class: Entity\User
from_email:
address: "%mailer_user%"
sender_name: "%mailer_user%"
Because yml file needs to be written and indent well with all spaces necessary