I'm trying to setup FOSUserBundle in a symfony 3.4 project. When accessing login page I get this error:
Unable to find template "FOSUserBundle::layout.html.twig" (looked into: app/Resources/views, vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form) in @FOSUser/Security/login.html.twig at line 1.
Login template is actually found, but login template makes use of FOSUserBundle::layout.html.twig
:
{% extends "FOSUserBundle::layout.html.twig" %}
This is my tree in app/Resources
folder, permissions and ownership seem to be ok:
app/Resources/
├── FOSUserBundle
│ ├── translations
│ │ └── FOSUserBundle.es.yml
│ └── views
│ ├── layout.html.twig
│ └── Security
│ └── login.html.twig
└── views
├── base.html.twig
├── default
│ └── index.html.twig
This structure used to work in Symfony 2.8 projects. I've tried different locations with no luck.
BTW, translations are not being found also
Any ideas?