Closed ghost closed 7 years ago
Which is probably one of the reasons why Symfony does not implement bundle autoloading.
Installing a Contao 3 extension that is compatible with Contao 4 via
composer require …
then setting it up in the Install Tool and then again deinstalling it via
composer remove …
causes no trouble during the cache:clear
operation. This is because ScriptHandler::initializeApplication
manually clears the cache (ScriptHandler::purgeCacheFolder
) before any of the other operations.
You're right. So this is actually not a bug, if you manually delete an extension folder you need to manually remove the cache…
Issue by @fritzmg July 18th, 2017, 13:32 GMT
Tested with the contao/managed-edition 4.4.1.
Reproduction
/system/modules
./system/modules
again to uninstall the extension.vendor/bin/contao-console cache:warmup
or… cache:clear --no-warmup
or… cache:clear
. The following fatal error will occur:The only way to uninstall such an extension is by deleting the extension folder and then deleting
var/cache/prod
manually.