hashar added a comment.
I have found some other occurrences from WikibaseClient.php, still related to
an array keys being an empty string. Both from php
7.2.22-1+0~20190902.26+debian9~1.gbpd64eb7+wmf1
/srv/mediawiki/php-1.34.0-wmf.21/extensions/Wikibase/client/includes/WikibaseClient.php:1591
`PHP Notice: Undefined index: `
#0
/srv/mediawiki/php-1.34.0-wmf.21/extensions/Wikibase/client/includes/WikibaseClient.php(1591):
MWExceptionHandler::handleError(integer, string, string, integer, array)
#1
/srv/mediawiki/php-1.34.0-wmf.21/extensions/Wikibase/client/includes/WikibaseClient.php(1627):
Wikibase\Client\WikibaseClient->getItemTermIndex()
#2
/srv/mediawiki/php-1.34.0-wmf.21/extensions/Wikibase/client/WikibaseClient.php(236):
Wikibase\Client\WikibaseClient->getDescriptionLookup()
#3 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiModuleManager.php(191):
{closure}(ApiQuery, string)
#4 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiModuleManager.php(167):
ApiModuleManager->instantiateModule(string, string, Closure)
#5 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiQuery.php(307):
ApiModuleManager->getModule(string, string)
#6 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiQuery.php(218):
ApiQuery->instantiateModules(array, string)
#7 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiMain.php(1596):
ApiQuery->execute()
#8 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiMain.php(534):
ApiMain->executeAction()
#9 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiMain.php(505):
ApiMain->executeActionWithErrorHandling()
#10 /srv/mediawiki/php-1.34.0-wmf.21/api.php(86): ApiMain->execute()
#11 /srv/mediawiki/w/api.php(3): require(string)
#12 {main}
And:
#0
/srv/mediawiki/php-1.34.0-wmf.21/extensions/Wikibase/client/includes/WikibaseClient.php(1591):
MWExceptionHandler::handleError(integer, string, string, integer, array)
#1
/srv/mediawiki/php-1.34.0-wmf.21/extensions/Wikibase/client/includes/WikibaseClient.php(1627):
Wikibase\Client\WikibaseClient->getItemTermIndex()
#2
/srv/mediawiki/php-1.34.0-wmf.21/extensions/Wikibase/client/WikibaseClient.php(236):
Wikibase\Client\WikibaseClient->getDescriptionLookup()
#3 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiModuleManager.php(191):
{closure}(ApiQuery, string)
#4 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiModuleManager.php(167):
ApiModuleManager->instantiateModule(string, string, Closure)
#5 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiQuery.php(307):
ApiModuleManager->getModule(string, string)
#6 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiQuery.php(218):
ApiQuery->instantiateModules(array, string)
#7 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiMain.php(1596):
ApiQuery->execute()
#8 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiMain.php(534):
ApiMain->executeAction()
#9 /srv/mediawiki/php-1.34.0-wmf.21/includes/api/ApiMain.php(505):
ApiMain->executeActionWithErrorHandling()
#10 /srv/mediawiki/php-1.34.0-wmf.21/api.php(86): ApiMain->execute()
#11 /srv/mediawiki/w/api.php(3): require(string)
#12 {main}
Both from
name=client/includes/WikibaseClient.php
1585 public function getItemTermIndex() {
1586 if ( $this->itemTermIndex === null ) {
1587 $dataAccessSettings = $this->getDataAccessSettings();
1588 $itemSource = $this->getItemSource( $dataAccessSettings );
1589 $itemDatabaseName =
$dataAccessSettings->useEntitySourceBasedFederation() ?
1590 $itemSource->getDatabaseName() :
1591
$this->getRepositoryDefinitions()->getDatabaseNames()['']; # array with empty
string as a key
It is different than the one found earlier (
$this->getRepositoryDefinitions()->getConceptBaseUris()[''] ), but related
since that is an empty string array key :\
So that is probably the exact same bug as T232613
<https://phabricator.wikimedia.org/T232613> which has the advantage to occur
way more frequently.
TASK DETAIL
https://phabricator.wikimedia.org/T231089
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: hashar
Cc: hashar, Joe, Krinkle, Ladsgroup, Lucas_Werkmeister_WMDE, WMDE-leszek,
Aklapper, zeljkofilipin, darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi,
Gq86, Tommy_Kronkvist, GoranSMilovanovic, QZanden, LawExplorer, _jensen,
rosalieper, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Nikerabbit,
Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs