Indra Gunawan
Indra Gunawan
@nicolas-grekas i can't reproduce the error with Cache component alone without FrameworkBundle the issue occurs when ```yaml services: _defaults: autoconfigure: true ``` if the `autoconfigure: false` even without this patch,...
Thank you @nicolas-grekas
@smnandre thanks for your feedback if this change is a bit risky, i would revert the changes and instead make the command not throwing an error if the yaml config...
i can't reproduce it if i do inject the non-exist env-var which is a typo, I get the same error as yours. make sure there is no typo on the...
i tried to remove EA routes config but still have non-exist env-var, there's no error while cache clear but I get 404 while accessing the page where I do inject...
yes, having the env-var on prod only and composer install on dev will raise the error. glad that you found the cause
the title should be "Pretty URL Router fails to clear cache `in DEV` if ENV var only exists in PROD" because it won't be an issue if you do clear...
> you can't tell composer to clear the cache after install in prod mode though? you can, do check https://symfony.com/doc/current/deployment.html#c-install-update-your-vendors on the orange caution box
@smnandre @kbond any chance to review this?
@smnandre i'm so sorry for following this up over and over again but can we wrap up this PR in the near future?