Page MenuHomePhabricator

PHP Notice: Undefined index: title
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   PHP Notice: Undefined index: title
error.stack_trace
from /srv/mediawiki/php-1.43.0-wmf.14/extensions/GrowthExperiments/includes/HelpPanel.php(63)
#0 /srv/mediawiki/php-1.43.0-wmf.14/extensions/GrowthExperiments/includes/HelpPanel.php(63): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.43.0-wmf.14/extensions/GrowthExperiments/includes/HelpPanelHooks.php(234): GrowthExperiments\HelpPanel::getHelpPanelLinks(MediaWiki\ResourceLoader\Context, GrowthExperiments\Config\MediaWikiConfigReaderWrapper)
#2 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/FileModule.php(1343): GrowthExperiments\HelpPanelHooks::getModuleData(MediaWiki\ResourceLoader\Context, MediaWiki\Config\GlobalVarConfig, NULL)
#3 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/FileModule.php(1199): MediaWiki\ResourceLoader\FileModule->expandFileInfo(MediaWiki\ResourceLoader\Context, array, string)
#4 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/FileModule.php(622): MediaWiki\ResourceLoader\FileModule->expandPackageFiles(MediaWiki\ResourceLoader\Context)
#5 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/Module.php(954): MediaWiki\ResourceLoader\FileModule->getDefinitionSummary(MediaWiki\ResourceLoader\Context)
#6 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/StartUpModule.php(220): MediaWiki\ResourceLoader\Module->getVersionHash(MediaWiki\ResourceLoader\Context)
#7 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/StartUpModule.php(424): MediaWiki\ResourceLoader\StartUpModule->getModuleRegistrations(MediaWiki\ResourceLoader\Context)
#8 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/Module.php(839): MediaWiki\ResourceLoader\StartUpModule->getScript(MediaWiki\ResourceLoader\Context)
#9 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/Module.php(808): MediaWiki\ResourceLoader\Module->buildContent(MediaWiki\ResourceLoader\Context)
#10 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/Module.php(951): MediaWiki\ResourceLoader\Module->getModuleContent(MediaWiki\ResourceLoader\Context)
#11 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/ResourceLoader.php(686): MediaWiki\ResourceLoader\Module->getVersionHash(MediaWiki\ResourceLoader\Context)
#12 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/ResourceLoader.php(786): MediaWiki\ResourceLoader\ResourceLoader->getCombinedVersion(MediaWiki\ResourceLoader\Context, array)
#13 /srv/mediawiki/php-1.43.0-wmf.14/includes/ResourceLoader/ResourceLoaderEntryPoint.php(53): MediaWiki\ResourceLoader\ResourceLoader->respond(MediaWiki\ResourceLoader\Context)
#14 /srv/mediawiki/php-1.43.0-wmf.14/includes/MediaWikiEntryPoint.php(200): MediaWiki\ResourceLoader\ResourceLoaderEntryPoint->execute()
#15 /srv/mediawiki/php-1.43.0-wmf.14/load.php(42): MediaWiki\MediaWikiEntryPoint->run()
#16 /srv/mediawiki/w/load.php(3): require(string)
#17 {main}
Impact

Log spam (> 2500 messages in a 15 minute period around the time of train).

Notes

Note this spike occurred prior to group1 promotion and seems unrelated to train deployment.

Details

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1056598 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@master] Ignore help-links with no title configured

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

Change #1056598 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Ignore help-links with no title configured

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

Change #1057001 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@wmf/1.43.0-wmf.15] Ignore help-links with no title configured

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

Change #1057222 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@master] fix(help panel schema): Require title and text keys to be present

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

Change #1057001 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.43.0-wmf.15] Ignore help-links with no title configured

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

Mentioned in SAL (#wikimedia-operations) [2024-07-29T16:36:47Z] <urbanecm@deploy1003> Started scap sync-world: Backport for [[gerrit:1057917|Display a GlobalBlock link to stewards in Special:CheckUser (T370463 T178571)]], [[gerrit:1057001|Ignore help-links with no title configured (T370941)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-29T16:38:47Z] <urbanecm@deploy1003> dreamyjazz, migr, urbanecm: Backport for [[gerrit:1057917|Display a GlobalBlock link to stewards in Special:CheckUser (T370463 T178571)]], [[gerrit:1057001|Ignore help-links with no title configured (T370941)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-29T16:47:44Z] <urbanecm@deploy1003> Finished scap: Backport for [[gerrit:1057917|Display a GlobalBlock link to stewards in Special:CheckUser (T370463 T178571)]], [[gerrit:1057001|Ignore help-links with no title configured (T370941)]] (duration: 10m 56s)

Etonkovidova subscribed.

Checked logstash Jul 23-Aug 14/2024 - there are no new reports of the issue.