Actions
Bug #79052
closedError with PHP 7.1 when calling TypoScriptFrontendController->getConfigArray
Start date:
2016-12-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
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()
must be of the type array, string given
I think the reason is, that 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.
if (is_array($this->tmpl->setup['config.'])) { ArrayUtility::mergeRecursiveWithOverrule($this->tmpl->setup['config.'], $this->config['config']); $this->config['config'] = $this->tmpl->setup['config.']; }
Actions