see: https://github.com/StarCitizenTools/mediawiki-skins-Citizen/issues/829
Steps to reproduce the behavior:
- Install the theme according to https://www.mediawiki.org/wiki/Skin:Citizen/zh#Configuration.
- In LocalSettings.php, set
wfLoadSkin( 'Citizen' ); $wgDefaultSkin = "Citizen";
- A warning appears at the top of the page.
- See error
Expected Behavior
When I installed the Citizen theme and enabled it, a warning appeared at the very top of the page:
Warning: Array to string conversion in D:\phpstudy_pro\mediawiki-1.41.1\extensions\VisualEditor\includes\Hooks.php on line 889
System
Please complete the following information:
- MediaWiki version v1.41.1
- Server OS: Win10
- Installed extensions and versions SemanticMediaWiki4.1
- PHP version PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:37) ( NTS Visual C++ 2019 x64 )