-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error : "You must enable the SensioFrameworkExtraBundle view annotations" #1846
Comments
Does it change anything if you change the config for SensioFrameworkExtraBundle to something like this: sensio_framework_extra:
view: { annotations: true } |
Yes, il already tried this, and it throw this error : This is the first error i had since the beginning. |
You probably also need to install and enable the TwigBundle. |
TwigBundle is already installed, but i don't think the problem comes form Twig itself ... |
+1 I have this error too |
Can you try the latest master? If that still does not work, are you able to create a small project that allows to reproduce the issue? |
#1878 might be related. |
Hello, |
Thanks for the feedback. Closing here then. |
Hello,
I use Symfony 2.8 with FOSRestBundle 1.8, (i can't update, this is fixed because i am in a collab work).
I have this error when i call a controller method that returns a view Response (by View::create($data)) :
RuntimeException in ConfigurationCheckPass.php line 34:
You must enable the SensioFrameworkExtraBundle view annotations to use the ViewResponseListener.
I read all issues concerning configuration of the bundle and problems with FrameworkExtraBundle, but no solution work for me ...
In my config.yml file, i have :
Thanks for your help :)
The text was updated successfully, but these errors were encountered: