升级后上传新文件时出现错误:
Warning: Parameter 1 to FlaggedRevsHooks::imagePageFindFile() expected to be a reference, value given in /home/user/www/site.com/includes/Hooks.php on line 117
Detected bug in an extension! Hook FlaggedRevsHooks::imagePageFindFile failed to return a value; should return true to continue hook processing or false to abort.
Backtrace:
#0 /home/user/www/site.com/includes/ImagePage.php(39): wfRunHooks('ImagePageFindFi...', Array)
#1 /home/user/www/site.com/includes/ImagePage.php(185): ImagePage->loadFile()
#2 /home/user/www/site.com/includes/Wiki.php(289): ImagePage->getFile()
#3 /home/user/www/site.com/includes/Wiki.php(60): MediaWiki->initializeArticle(Object(Title), Object(WebRequest))
#4 /home/user/www/site.com/index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#5 {main}
MediaWiki 版本 1.15.5。