[4.1.0] Declaration compatibility issue with vw_UI_Special_Data_Statistics_View::view($params), vw_UI_Special_Data_WikiCodeList_View::view($params) and vw_UI_Special_View::view(&$params)
Navigating to Special:Statistics in VW 4.1.0 stable triggers the following error:
Code:
ErrorException: [E_WARNING] Declaration of vw_UI_Special_Data_Statistics_View::view($params)
should be compatible with vw_UI_Special_View::view(&$params)
in src/addons/vw/vw/_core/view/ui/special/data/statistics/vw.php at line 15
Similarly, Special:WikiCodeList reveals the same type of error:
Code:
ErrorException: [E_WARNING] Declaration of vw_UI_Special_Data_WikiCodeList_View::view($params)
should be compatible with vw_UI_Special_View::view(&$params)
in src/addons/vw/vw/_core/view/ui/special/data/wikicodelist/vw.php at line 15
In XenForo, the error prevents the page from showing:
https://www.vaultwiki.org/xf-wiki/in...l:SpecialPages
In vBulletin, a warning is displayed but the page is still operational:
https://www.vaultwiki.org/pages/Special:SpecialPages
N.B. Affected version is 4.1.0 (stable, not RC 3).