Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | yes/no |
RFC? | no |
Symfony version | 3.3.0 |
Right after updating to v3.3.0 my app started to crash with an exception (tried on PHP 7.0.12 and 7.1.3)
An error occurred when executing the ""cache:clear --no-warmup"" command: PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Invalid key "event_dispatcher" found in arguments of method "__construct()" for service "tmdb.configuration": only integer or $named arguments are allowed. in /sandbox/project/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/ResolveNamedArgumentsPass.php:47
Stack trace:
#0 /sandbox/project/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(57): Symfony\Component\DependencyInjection\Compiler\ResolveNamedArgumentsPass->processValue(Object(Symfony\Component\DependencyInjection\Definition), true)
#1 /sandbox/project/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/ResolveNamedArgumentsPass.php(30): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, true)
#2 /sandbox/project/vendor/symfony/symfony/s in /sandbox/project/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/ResolveNamedArgumentsPass.php on line 47
After reverting back to 3.2 (3.2.9) works perfectly. If I exclude corresponding bundle from loading it will creash for the next one with the same message. I'm not sure what are exact steps to reproduce - in my case it was a simple update from 3.2.8 to 3.3.0, I'll try to narrow this down.