Actions
Bug #79089
closedUpgradeWizard (8.5) does not work with alternative cache configuration
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The upgrade wizard seems not to work while updating from 8.4.1 to 8.5. using an alternative cache configuration. In my case i am using redis as caching backend.
The following error occures if i try to start the upgrade wizard:
array_merge() expects at least 1 parameter, 0 given TypeError thrown in file ../TYPO3.CMS/typo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php in line 271.
My cache configuration:
$config = array( 'hostname' => '127.0.0.1', 'database' => 2 ); $tables = array( 'cache_hash', 'cache_pages', 'cache_pagesection', 'cache_runtime', 'cache_rootline', 'cache_imagesizes', 'extbase_object', 'extbase_reflection', 'datamapfactory_datamap', 'extbase_reflection', 'extbase_datamapfactory_datamap', 'extbase_typo3dbbackend_queries', 'extbase_typo3dbbackend_tablecolumns', ); foreach ($tables as $table) { $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][$table]['backend'] = \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class; $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][$table]['options'] = $config; }
Removing the cache configuration makes it possible to use the upgrade wizard.
Actions