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

Error Occurs : Adding definition to a compiled container is not allowed #961

Open
wildanm opened this issue Jan 11, 2022 · 1 comment
Open

Comments

@wildanm
Copy link

wildanm commented Jan 11, 2022

I'm using the newest generis, and when installing tao, i encounter the following error :

[2022-01-11 10:45][error]     Error Occurs : Adding definition to a compiled container is not allowed.
#0 /opt/webapps/package-tao/vendor/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php(70): Symfony\Component\DependencyInjection\ContainerBuilder->setDefinition('Psr\\Http\\
Messag...', Object(Symfony\Component\DependencyInjection\Definition))
#1 /opt/webapps/package-tao/generis/core/DependencyInjection/ContainerServiceProvider.php(42): Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator->__destruct()
#2 /opt/webapps/package-tao-data/generis/cache/services.php(6): oat\generis\model\DependencyInjection\ContainerServiceProvider->__invoke(Object(Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator))
#3 /opt/webapps/package-tao/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php(149): Symfony\Component\DependencyInjection\Loader\ProtectedPhpFileLoader->{closure}(Object(Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator))
#4 /opt/webapps/package-tao/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php(67): Symfony\Component\DependencyInjection\Loader\PhpFileLoader->executeCallback(Object(Closure), Object(Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator), '/opt/webapps/...')
#5 /opt/webapps/package-tao/generis/core/DependencyInjection/ContainerBuilder.php(98): Symfony\Component\DependencyInjection\Loader\PhpFileLoader->load('services.php')
#6 /opt/webapps/package-tao/tao/install/class.Installator.php(604): oat\generis\model\DependencyInjection\ContainerBuilder->forceBuild()
#7 /opt/webapps/package-tao/tao/install/class.Installator.php(378): tao_install_Installator->recreateDependencyInjectionContainerCache()
#8 /opt/webapps/package-tao/tao/scripts/class.TaoInstall.php(134): tao_install_Installator->install(Array)
#9 /opt/webapps/package-tao/tao/scripts/class.Runner.php(114): tao_scripts_TaoInstall->run()
#10 /opt/webapps/package-tao/tao/scripts/taoInstall.php(149): tao_scripts_Runner->__construct(Array)
#11 {main}
[2022-01-11 10:45][error]     A fatal error has occurred during installation: Adding definition to a compiled container is not allowed.
@wildanm
Copy link
Author

wildanm commented Jan 11, 2022

Despite the error during the installation process, but I can still login to the system.

Screen Shot 2022-01-11 at 17 57 14

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