In APP_ENV=dev everything works as expected, but as soon as I set the environment to prod, the container does not compile anymore. The error messages says
In AddingTypesToAdjustmentClearerPass.php line 39:
[ErrorException]
Warning: Undefined variable $matches
Exception trace:
at /var/www/vendor/brille24/sylius-customer-options-plugin/src/CompilerPass/AddingTypesToAdjustmentClearerPass.php:39
Brille24\SyliusCustomerOptionsPlugin\CompilerPass\AddingTypesToAdjustmentClearerPass->addClearerToContainerParameter() at /var/www/vendor/brille24/sylius-customer-options-plugin/src/CompilerPass/AddingTypesToAdjustmentClearerPass.php:24
Brille24\SyliusCustomerOptionsPlugin\CompilerPass\AddingTypesToAdjustmentClearerPass->process() at /var/www/vendor/symfony/dependency-injection/Compiler/Compiler.php:80
It seems like the assert() function is disabled by symfony in production mode.
In APP_ENV=dev everything works as expected, but as soon as I set the environment to prod, the container does not compile anymore. The error messages says
It seems like the
assert()function is disabled by symfony in production mode.