Answer the question
In order to leave comments, you need to log in
Symfony - Services stopped working, what to do?
Good afternoon.
Updated composer update and services stopped working, and only in one bundle.
Symfony 2.6.6 Cleared the
cache.
Previously contacted the service, everything was fine, now it is not clear what the problem is.$this->get('hash.service')->encode($code);
$this->container->get('hash.service')->encode($code);
You have requested a non-existent service "hash.service".
[2015-09-26 15:53:53] request.INFO: Matched route "front_planner" (parameters: "_controller": "AppBundle\Controller\PlannerController::indexAction", "_route": "front_planner") [] []
[2015-09-26 15:53:53] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "You have requested a non-existent service "hash.service"." at /Users/gnd/dm.lan/app/bootstrap.php.cache line 2098 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException(code: 0): You have requested a non-existent service \"hash.service\". at /Users/gnd/dm.lan/app/bootstrap.php.cache:2098)"} []
[2015-09-26 15:53:53] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] []
Answer the question
In order to leave comments, you need to log in
Updated composer update and services stopped working
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question