[英]Symfony 4 : circular reference error
I'm using Symfony 4 and for no reason, I have an error when I try to clear the cache : 我正在使用Symfony 4并且无缘无故,当我尝试清除缓存时出错:
Circular reference detected for service "routing.loader", path: "routing.loader".
I did nothing special (a composer update maybe) and I have no idea what the problem is. 我没有做任何特别的事情(可能是作曲家更新),我不知道问题是什么。
Any suggestion ? 有什么建议吗?
I tried to comment all routes in routing.yml and routing_dev.yml but no effect... 我试着在routing.yml和routing_dev.yml中评论所有路由,但没有效果......
Thanks ! 谢谢 !
The solution for my problem is to remove the vendor folder, and do composer install after that... 我的问题的解决方案是删除供应商文件夹,然后执行composer安装...
Don't know why but it's ok now ! 不知道为什么,但现在好了!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.