Page MenuHomePhabricator

ErrorException from line 137 of /srv/mediawiki/w/extensions/AbuseFilter/includes/Views/AbuseFilterViewList.php: PHP Notice: compact(): Undefined variable: querypattern
Closed, ResolvedPublic

Description

Hi, im getting this on 1.32

ErrorException from line 137 of /srv/mediawiki/w/extensions/AbuseFilter/includes/Views/AbuseFilterViewList.php: PHP Notice: compact(): Undefined variable: querypattern
#0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/w/extensions/AbuseFilter/includes/Views/AbuseFilterViewList.php(137): compact(string, string, string, string, string, string)
#2 /srv/mediawiki/w/extensions/AbuseFilter/includes/special/SpecialAbuseFilter.php(122): AbuseFilterViewList->show()
#3 /srv/mediawiki/w/includes/specialpage/SpecialPage.php(569): SpecialAbuseFilter->execute(NULL)
#4 /srv/mediawiki/w/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL)
#5 /srv/mediawiki/w/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#6 /srv/mediawiki/w/includes/MediaWiki.php(860): MediaWiki->performRequest()
#7 /srv/mediawiki/w/includes/MediaWiki.php(517): MediaWiki->main()
#8 /srv/mediawiki/w/index.php(42): MediaWiki->run()
#9 {main}
PHP Notice:  compact(): Undefined variable: searchmode in /srv/mediawiki/w/extensions/AbuseFilter/includes/Views/AbuseFilterViewList.php on line 137

Event Timeline

Change 485663 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/extensions/AbuseFilter@master] Avoid PHP 7.3 Undeclared variable notice

https://gerrit.wikimedia.org/r/485663

Change 485663 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Avoid PHP 7.3 Undeclared variable notice

https://gerrit.wikimedia.org/r/485663

Change 487449 had a related patch set uploaded (by Paladox; owner: Daimona Eaytoy):
[mediawiki/extensions/AbuseFilter@REL1_32] Avoid PHP 7.3 Undeclared variable notice

https://gerrit.wikimedia.org/r/487449

Change 487450 had a related patch set uploaded (by Paladox; owner: Daimona Eaytoy):
[mediawiki/extensions/AbuseFilter@REL1_31] Avoid PHP 7.3 Undeclared variable notice

https://gerrit.wikimedia.org/r/487450

Change 487449 merged by Daimona Eaytoy:
[mediawiki/extensions/AbuseFilter@REL1_32] Avoid PHP 7.3 Undeclared variable notice

https://gerrit.wikimedia.org/r/487449

Change 487450 merged by Daimona Eaytoy:
[mediawiki/extensions/AbuseFilter@REL1_31] Avoid PHP 7.3 Undeclared variable notice

https://gerrit.wikimedia.org/r/487450