So, the above error has suddenly started happening, after I\'ve been using FOSUserBundle for several Symfony projects.
I\'ve tried including the templating service (
For my case, it's work after changing in the config.yml like below:
# FOSUser Configuration
fos_user:
db_driver: orm # other valid values are 'mongodb' and 'couchdb'
firewall_name: main
user_class: AppBundle\Entity\User
service: # this line
mailer: fos_user.mailer.twig_swift # this line (from the comment above)
from_email:
address: "test@test.com" # change this
sender_name: "Test App" # and this