Symfony ServiceCircularReferenceException. What to do?
The project has just started, for 99% of code is generated by command "composer create-project symfony/framework-standard-edition my_project_name". A few days ago left the development, there were other things, now returned and were surprised to find that he ceased to run (access to the code only I have no one else to get in could not).
Throws this error:
Circular reference detected for service "AppBundle\Exception\HttpException\ValidationHttpException", path: "AppBundle\Exception\HttpException\ValidationHttpException -> AppBundle\Exception\HttpException\ValidationHttpException".
The problem is that such a service is not, and never was. This is stupid the usual eksepsi, emitted once in the controller instance which is not created (error thrown before). Search by code also results was not given. I tried the yml configs to remove all except the default - did not help.
If the class is remove, then the error disappears and everything works again. But damn it, I need it, and voobche want to understand where this crap happens. Nobody faced? What could it be?