I have been running v2.1.10-dev since very shortly after it was released – as I run composer update nightly.
However, I keep finding this error:
An exception has been thrown during the rendering of a template (“You have requested a non-existent service “http” *cut*
After doing an
As soon as I do an assetic:dump, then a
php app/console -V, my version changes from 2.1.10-dev to 2.1.4-dev.
The error above is then thrown when opening a template that uses a
render(route) call inside my twig template.
It’s not major, in that running composer update resolves the issue.
For reference, I have deleted the app/cache dir with rm -rf *, as well as cache:clear. I have done this multiple times.
I have decided to remove the entire Symfony folder from vendors (
sudo rm -rf vendors/symfony/*) and re-run the composer update.
Hopefully this will clear the issue.
Note: I have resolved the issue raised on the Official Symfony Blog, so if you are seeing this after updating, have Googled and found this page, then you probably haven’t corrected the issue raised on the blog article. Specifically point 6, but make sure to read it all.
And if anyone has got the same issue as I have, please let me know how you resolved it.
If I haven’t updated this post in 7 days, you can take my solution (deleting the Symfony folder from vendors) as working.
Otherwise, I am sure to be back here having a rant.
Ps, yes I am aware the post picture is irrelevant.