Project

General

Profile

Bug #79052

Updated by Stephan Großberndt almost 8 years ago

When i run some test from EXT:solr with PHP 7.1 i get the following error: 

 TypeError: Argument 2 passed to @TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule()@ TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule() must be of the type array, string given 

 I think the reason is, that @TypoScriptFrontendController->config@ TypoScriptFrontendController->config is still an empty string, when the part i the code is called, and the second argument was expected to be an array. 

 <pre> 
 if (is_array($this->tmpl->setup['config.'])) { 
    ArrayUtility::mergeRecursiveWithOverrule($this->tmpl->setup['config.'], $this->config['config']); 
    $this->config['config'] = $this->tmpl->setup['config.']; 
 } 

 </pre> 

Back