This is so bizarre... I'm using Symfony 2.8. My login page was showing normally. I clear the cache:
php app/console cache:clear
And now twig
can't find the login.html.twig
anymore, which I haven't moved!
Warning: file_get_contents(/Users/nacho/Documents/Symfony/docker-symfony/symfony/
vendor/friendsofsymfony/user-bundle/Resources/views/Security/login.html.twig):
failed to open stream: No such file or directory
I am sure the path is correct: I haven't moved the file and the paths are identical.
I've seen this great answer, but it doesn't seem to apply to my situation. Any ideas?
Had the same problem today. "composer update" did it for me.