This repository was archived by the owner on Nov 15, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
This repository was archived by the owner on Nov 15, 2018. It is now read-only.
Problem with updating of symfony #80
Copy link
Copy link
Open
Description
Hi there, I don't know, maybe this is not a problem of DunglasActionBundle.
When I try to update symfony to 3.3.* I get next errors:
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\AutowiringFailedException: Cannot autowire service "ApiBundle\Controller\TermsController": argument "$terms" o
f method "__construct()" references class "ModelBundle\Builders\Terms" but no such service exists. It cannot be auto-registered because it is from a different root namespace. in /symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php on line 291
Symfony\Component\DependencyInjection\Exception\AutowiringFailedException: Cannot autowire service "ApiBundle\Controller\TermsController": argument "$terms" of method "__construct(
)" references class "ModelBundle\Builders\Terms" but no such service exists. It cannot be auto-registered because it is from a different root namespace. in /symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php on line 291
Call Stack:
1.0250 21820256 1. Symfony\Component\Debug\ErrorHandler->handleException() /symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.p
hp:0
PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\AutowiringFailedException: Cannot autowire service "ApiBundle\Controller\TermsController": argument "$ter
ms" of method "__construct()" references class "ModelBundle\Builders\Terms" but no such service exists. It cannot be auto-registered because it is from a different root namespace.
in /symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:291
Stack trace:
#0 /symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php(223): Symfony\Component\DependencyInjection\Compiler\A
utowirePass->autowireMethod(Object(ReflectionMethod), Array)
#1 /vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php(146): Symfony\Component\DependencyInjection\Compiler\A
utowirePass->autowireCalls(Object(ReflectionClass), Array, Array)
#2 //symfony/sy in //symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php o
n line 29
I'm using a "dunglas/action-bundle": "^0.4.1"
Metadata
Metadata
Assignees
Labels
No labels