Open phavekes opened 2 days ago
This issue is imported from pivotal - Originaly created at Apr 19, 2021 by Pieter van der Meulen
Starting the console results in the exception below. This is the prod build, so it shouldn\'t require this dependency.
[root@test-app sa-mw.test2.surfconext.nl]# php72 ./bin/console Symfony\Component\ErrorHandler\Error\ClassNotFoundError^ {#52 #message: """ Attempted to load class "LiipTestFixturesBundle" from namespace "Liip\TestFixturesBundle".\n Did you forget a "use" statement for another namespace? """ #code: 0 #file: "/opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/src/Kernel.php" #line: 23 trace: { /opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/src/Kernel.php:23 { App\Kernel->registerBundles(): iterable^ › if ($envs[$this->environment] ?? $envs[\'all\'] ?? false) { › yield new $class(); › } } /opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/vendor/symfony/http-kernel/Kernel.php:446 { …} /opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/vendor/symfony/http-kernel/Kernel.php:133 { …} /opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/vendor/symfony/framework-bundle/Console/Application.php:169 { …} /opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/vendor/symfony/framework-bundle/Console/Application.php:75 { …} /opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/vendor/symfony/console/Application.php:147 { …} /opt/stepup/Stepup-Middleware-4.1.4-20201102121401Z-aff630a1e040fef0cc9170f19cfd6422cbedae7b/bin/console:42 { …} } } 2021-04-19T10:08:38+02:00 [critical] Uncaught Error: Class \'Liip\TestFixturesBundle\LiipTestFixturesBundle\' not found
Setting --env=prod solves the issue. (Pieter van der Meulen - Apr 19, 2021)
--env=prod
This issue is imported from pivotal - Originaly created at Apr 19, 2021 by Pieter van der Meulen
Starting the console results in the exception below. This is the prod build, so it shouldn\'t require this dependency.