Reputation: 191
recently I've been trying to install FOSUserBundle
with my Symfony 2.1
application. I went through the installation and configuration process with no errors. However, when I typed myapp/app_dev.php/login
path into browser address bar, I got a following error:
ErrorException: Warning: array_key_exists() expects parameter 2 to be array, null given in /home/kasia/WWW/herold-statistik/vendor/symfony/symfony/src/Symfony/Bridge/Twig/NodeVisitor/Scope.php line 94
This error seems to appear on every subpage that uses FOS templates
. It only disappears when {% extends %}
and {% block %}
tags are removed from Twig
files. Overriding templates didn't work for me.
I will appreciate any help. Thanks.
Upvotes: 1
Views: 250