Skip to content

Cannot autowire service  #64

@MartinKuhl

Description

@MartinKuhl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions