Project

General

Profile

Bug #79089

Updated by David Greiner almost 8 years ago

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:  

 <pre> 
 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. 

 </pre> 

 My cache configuration:  

 <pre> 

 $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; 
 } 
 </pre> 


 Removing the cache configuration makes it possible to use the upgrade wizard.

Back