Page MenuHomePhabricator

PHP Notice: Undefined index: query from PageHistoryHandler
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.35.0-wmf.15

message
PHP Notice: Undefined index: query

Notes

brennen@mwlog1001:/srv/mw-log$ grep -c 'PageHistoryHandler.php:377' ./error.log 
32

Details

Request ID
XjiTMQpAAD0AAAh8LlEAAADC
Request URL
https://en.wikipedia.org/w/rest.php/v1/page/Laurent_Duvernay-Tardif/history
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/Handler/PageHistoryHandler.php(377): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/Handler/PageHistoryHandler.php(150): MediaWiki\Rest\Handler\PageHistoryHandler->processDbResults(Wikimedia\Rdbms\ResultWrapper, Title, array)
#2 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/SimpleHandler.php(37): MediaWiki\Rest\Handler\PageHistoryHandler->run(string)
#3 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/Router.php(314): MediaWiki\Rest\SimpleHandler->execute()
#4 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/Router.php(285): MediaWiki\Rest\Router->executeHandler(MediaWiki\Rest\Handler\PageHistoryHandler)
#5 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/EntryPoint.php(111): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#6 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/EntryPoint.php(78): MediaWiki\Rest\EntryPoint->execute()
#7 /srv/mediawiki/php-1.35.0-wmf.15/rest.php(31): MediaWiki\Rest\EntryPoint::main()
#8 /srv/mediawiki/w/rest.php(3): require(string)
#9 {main}

Event Timeline

Change 571316 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] PageHistoryHandler: Undefined index 'query'

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

Change 571316 merged by jenkins-bot:
[mediawiki/core@master] PageHistoryHandler: Undefined index 'query'

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