Krinkle created this task.
Krinkle added projects: Wikimedia-production-error, ArticlePlaceholder.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION

Error

Request ID: GBocAAABD

message
PHP Notice: Undefined index: Q70972
PHP Notice: Undefined index: Q13202722
...

#0 /srv/mediawiki/php-1.32.0-wmf.24/extensions/ArticlePlaceholder/includes/ItemNotabilityFilter.php(86): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /srv/mediawiki/php-1.32.0-wmf.24/extensions/ArticlePlaceholder/includes/SearchHookHandler.php(238): ArticlePlaceholder\ItemNotabilityFilter->getNotableEntityIds(array)
#2 /srv/mediawiki/php-1.32.0-wmf.24/extensions/ArticlePlaceholder/includes/SearchHookHandler.php(182): ArticlePlaceholder\SearchHookHandler->renderTermSearchResults(array)
#3 /srv/mediawiki/php-1.32.0-wmf.24/extensions/ArticlePlaceholder/includes/SearchHookHandler.php(170): ArticlePlaceholder\SearchHookHandler->addToSearch(SpecialSearch, OutputPage, string)
#4 /srv/mediawiki/php-1.32.0-wmf.24/includes/Hooks.php(174): ArticlePlaceholder\SearchHookHandler::onSpecialSearchResultsAppend(SpecialSearch, OutputPage, string)
#5 /srv/mediawiki/php-1.32.0-wmf.24/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#6 /srv/mediawiki/php-1.32.0-wmf.24/includes/specials/SpecialSearch.php(479): Hooks::run(string, array)
#7 /srv/mediawiki/php-1.32.0-wmf.24/includes/specials/SpecialSearch.php(190): SpecialSearch->showResults(string)
#8 /srv/mediawiki/php-1.32.0-wmf.24/includes/specialpage/SpecialPage.php(569): SpecialSearch->execute(NULL)

Impact

Unknown. The code is expecting an array with certain fields, these are missing.

The code is not expecting this, and unfortunately PHP continues regardless assuming any unknown key of the array is null. It is unclear whether in such case the correct behaviour is for the code to follow the true-branch, the false-branch, or something else entirely.

Notes

Last 30 days:

  • Domains: test.wikipedia.org, wikidata.org, test2.wikipedia.org.

TASK DETAIL
https://phabricator.wikimedia.org/T207235

WORKBOARD
https://phabricator.wikimedia.org/project/board/1055/

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Krinkle
Cc: Krinkle, Aklapper, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to