Fix: Exception 'yii\base\InvalidConfigException' with message 'Unsupported configuration type: object' (#7023)

* Fix: Exception 'yii\base\InvalidConfigException' with message 'Unsupported configuration type: object'

* Fix: Exception 'yii\base\InvalidConfigException' with message 'Unsupported configuration type: object'
This commit is contained in:
Gevorg Mansuryan 2024-05-22 22:05:29 +04:00 committed by GitHub
parent 3c1357e347
commit 49bd25f022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -32,6 +32,7 @@ HumHub Changelog
- Fix #7017: Fix content search order after restoring from cache
- Fix #7021: Image cropping: prevent vertical images from being displayed higher than the browser window
- Fix #7007: Allow resetting of people filters
- Fix #7023: Fix `Unsupported configuration type: object` Exception when running `php yii` on fresh installation
1.16.0-beta.2 (April 9, 2024)
-----------------------------

View File

@ -145,6 +145,10 @@ trait ApplicationTrait
private function removeLegacyConfigSettings($applicationConfig)
{
return ArrayHelper::merge($applicationConfig, SelfTest::getLegancyConfigSettings());
return ArrayHelper::merge([
'modules' => [],
'components' => [],
], $applicationConfig, SelfTest::getLegancyConfigSettings()
);
}
}