Page MenuHomePhabricator

[ArticlePlaceHolder] on test.wikidata.org, searches cause PHP Notice: Undefined index: QXXXXX
Closed, DuplicatePublic

Description

Error

Request URL: https://test.wikidata.org/w/index.php?search=&search=Firefox&title=Special%3ASearch&go=%E8%A1%A8%E7%A4%BA&uselang=ja&ns0=1&ns120=1
Request ID: XOTINQpAAEUAAFNn7y4AAADF

message
PHP Notice: Undefined index: Q487834
trace
 	#0 /srv/mediawiki/php-1.34.0-wmf.6/extensions/ArticlePlaceholder/includes/ItemNotabilityFilter.php(85): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /srv/mediawiki/php-1.34.0-wmf.6/extensions/ArticlePlaceholder/includes/SearchHookHandler.php(238): ArticlePlaceholder\ItemNotabilityFilter->getNotableEntityIds(array)
#2 /srv/mediawiki/php-1.34.0-wmf.6/extensions/ArticlePlaceholder/includes/SearchHookHandler.php(182): ArticlePlaceholder\SearchHookHandler->renderTermSearchResults(array)
#3 /srv/mediawiki/php-1.34.0-wmf.6/extensions/ArticlePlaceholder/includes/SearchHookHandler.php(170): ArticlePlaceholder\SearchHookHandler->addToSearch(SpecialSearch, OutputPage, string)
#4 /srv/mediawiki/php-1.34.0-wmf.6/includes/Hooks.php(174): ArticlePlaceholder\SearchHookHandler::onSpecialSearchResultsAppend(SpecialSearch, OutputPage, string)
#5 /srv/mediawiki/php-1.34.0-wmf.6/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#6 /srv/mediawiki/php-1.34.0-wmf.6/includes/specials/SpecialSearch.php(477): Hooks::run(string, array)
#7 /srv/mediawiki/php-1.34.0-wmf.6/includes/specials/SpecialSearch.php(173): SpecialSearch->showResults(string)
#8 /srv/mediawiki/php-1.34.0-wmf.6/includes/specialpage/SpecialPage.php(570): SpecialSearch->execute(NULL)
#9 /srv/mediawiki/php-1.34.0-wmf.6/includes/specialpage/SpecialPageFactory.php(575): SpecialPage->run(NULL)
#10 /srv/mediawiki/php-1.34.0-wmf.6/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#11 /srv/mediawiki/php-1.34.0-wmf.6/includes/MediaWiki.php(865): MediaWiki->performRequest()
#12 /srv/mediawiki/php-1.34.0-wmf.6/includes/MediaWiki.php(515): MediaWiki->main()
#13 /srv/mediawiki/php-1.34.0-wmf.6/index.php(42): MediaWiki->run()
#14 /srv/mediawiki/w/index.php(3): include(string)
#15 {main}

Impact

Notes

That is from test.wikidata.org or test.wikipedia.org when doing searches.

Event Timeline

hashar created this task.May 22 2019, 9:14 AM
Restricted Application added a project: Wikidata. · View Herald TranscriptMay 22 2019, 9:14 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
hashar renamed this task from [ArticlePlaceHolder] search causes PHP Notice: Undefined index: QXXXXX to [ArticlePlaceHolder] on test.wikidata.org, searches cause PHP Notice: Undefined index: QXXXXX.May 22 2019, 11:16 AM

Not a train blocker, that happened previously and the notice is only found for queries toward test.wikidata.org / test.wikipedia.org

mmodell changed the subtype of this task from "Task" to "Production Error".Wed, Aug 28, 11:06 PM