You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manually install a Contao 3 extension that is compatible with Contao 4 by copying the extension folder to /system/modules.
Clear the cache.
Run the Install Tool.
Delete the extension folder from /system/modules again to uninstall the extension.
Run vendor/bin/contao-console cache:warmup or … cache:clear --no-warmup or … cache:clear. The following fatal error will occur:
PHP Fatal error: Uncaught LogicException: The module folder "system/modules/news_sorted" does not exist. in …\vendor\contao\core-bundle\src\HttpKernel\Bundle\ContaoModuleBundle.php:36
Stack trace:
#0 …\vendor\contao\manager-plugin\src\Bundle\Config\ModuleConfig.php(53): Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle->__construct('news_sorted', 'C:\\xampp\\htdocs...')
#1 …\vendor\contao\manager-bundle\src\HttpKernel\ContaoKernel.php(232): Contao\ManagerPlugin\Bundle\Config\ModuleConfig->getBundleInstance(Object(Contao\ManagerBundle\HttpKernel\ContaoKernel))
#2 …\vendor\contao\manager-bundle\src\HttpKernel\ContaoKernel.php(53): Contao\ManagerBundle\HttpKernel\ContaoKernel->addBundlesFromPlugins(Array)
#3 …\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(450): Contao\ManagerBundle\HttpKernel\ContaoKernel->registerBundles()
#4 …\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\K in …\vendor\contao\core-bundle\src\HttpKernel\Bundle\ContaoModuleBundle.php on line 36
The only way to uninstall such an extension is by deleting the extension folder and then deleting var/cache/prod manually.
The text was updated successfully, but these errors were encountered:
fritzmg
changed the title
fatal error during cache clear when uninstalling an extension
fatal error during cache:clear when manually uninstalling an extension
Jul 18, 2017
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.The text was updated successfully, but these errors were encountered: