Topic on VisualEditor/Feedback

Warning: Array to string conversion in D:\phpstudy_pro\mediawiki-1.41.1\extensions\VisualEditor\includes\Hooks.php on line 889

2
2408:8418:F20:8C59:24CD:C3C5:7E7E:E8E9 (talkcontribs)

see: https://github.com/StarCitizenTools/mediawiki-skins-Citizen/issues/829

Steps to reproduce the behavior:

  1. Install the theme according to https://www.mediawiki.org/wiki/Skin:Citizen/zh#Configuration.
  2. In LocalSettings.php, set wfLoadSkin( 'Citizen' ); $wgDefaultSkin = "Citizen";
  3. A warning appears at the top of the page.
  4. 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 )
2603:C022:800E:6C00:505:FBEE:55E6:3764 (talkcontribs)

I also encountered this problem, have you solved it?

Reply to "Warning: Array to string conversion in D:\phpstudy_pro\mediawiki-1.41.1\extensions\VisualEditor\includes\Hooks.php on line 889"