[BUGFIX] Install tool fatal with options for cache_classes
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Core / Bootstrap.php
index 545805e..87e5704 100644 (file)
@@ -445,8 +445,10 @@ class Bootstrap {
        public function disableCoreAndClassesCache() {
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_core']['backend']
                        = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
+               unset($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_core']['options']);
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_classes']['backend']
                        = \TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend::class;
+               unset($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_classes']['options']);
                return $this;
        }