Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot autowire service #64

Open
MartinKuhl opened this issue Oct 31, 2022 · 0 comments
Open

Cannot autowire service #64

MartinKuhl opened this issue Oct 31, 2022 · 0 comments

Comments

@MartinKuhl
Copy link

After the composer installation of oxrun in Oxid6 (dev-b-6.5-ce) I get the following error if I try run oxrun.

www-data@5d91dd575284:/var/www/html$ /var/www/html/vendor/bin/oxrun list
[31-Oct-2022 23:35:33 Europe/Berlin] PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Cannot autowire service "Oxrun\Command\Module\ReloadCommand": argument "$oxrunContext" of method "__construct()" references class "Oxrun\Core\OxrunContext" but no such service exists. in /var/www/html/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php:54
Stack trace:
#0 /var/www/html/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(82): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Object(Symfony\Component\DependencyInjection\Definition), true)
#1 /var/www/html/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php(32): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, true)
#2 /var/www/html/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(47): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Array, true)
#3 /var/www/htm in /var/www/html/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php on line 54

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant