Page MenuHomePhabricator

PHP Notice: Undefined variable: namespace
Closed, ResolvedPublic1 Estimated Story PointsPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Notice: Undefined variable: namespace
exception.trace
from /srv/mediawiki/php-master/includes/specials/SpecialWhatLinksHere.php(336)
#0 /srv/mediawiki/php-master/includes/specials/SpecialWhatLinksHere.php(336): MWExceptionHandler::handleError(int, string, string, int, array)
#1 /srv/mediawiki/php-master/includes/specials/SpecialWhatLinksHere.php(126): MediaWiki\Specials\SpecialWhatLinksHere->showIndirectLinks(int, MediaWiki\Title\Title, int, int, int, string)
#2 /srv/mediawiki/php-master/includes/specialpage/FormSpecialPage.php(246): MediaWiki\Specials\SpecialWhatLinksHere->onSuccess()
#3 /srv/mediawiki/php-master/includes/specialpage/SpecialPage.php(728): MediaWiki\SpecialPage\FormSpecialPage->execute(string)
#4 /srv/mediawiki/php-master/includes/specialpage/SpecialPageFactory.php(1726): MediaWiki\SpecialPage\SpecialPage->run(string)
#5 /srv/mediawiki/php-master/includes/actions/ActionEntryPoint.php(504): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#6 /srv/mediawiki/php-master/includes/actions/ActionEntryPoint.php(146): MediaWiki\Actions\ActionEntryPoint->performRequest()
#7 /srv/mediawiki/php-master/includes/MediaWikiEntryPoint.php(200): MediaWiki\Actions\ActionEntryPoint->execute()
#8 /srv/mediawiki/php-master/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#9 /srv/mediawiki/w/index.php(3): require(string)
#10 {main}
Impact
Notes

May be the underlying issue for T378046: Intermittant "PHP Notice: Undefined variable: namespace" during beta-scap-sync-world.

Details

Request URL
https://en.wikipedia.beta.wmflabs.org/wiki/Special:WhatLinksHere/User:Zabe_(test)
Related Changes in Gerrit:

Event Timeline

Reedy triaged this task as High priority.Oct 24 2024, 2:02 AM
Reedy added a project: MW-1.43-release.

Change #1082600 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/core@master] SpecialWhatLinksHere: Ensure namespace variable is defined

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

Change #1082604 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/core@REL1_43] SpecialWhatLinksHere: Ensure namespace variable is defined

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

Change #1082600 merged by jenkins-bot:

[mediawiki/core@master] SpecialWhatLinksHere: Ensure namespace variable is defined

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

abi_ set the point value for this task to 1.Oct 24 2024, 12:26 PM
abi_ moved this task from In Progress to Done on the LPL Essential (LPL Essential 2024 Jul-Oct) board.

Related patch has been merged and deployed on translatewiki.net. I've opened a patch to REL1_43 branch.

Please re-open if you still see the issue.

Change #1082604 merged by jenkins-bot:

[mediawiki/core@REL1_43] SpecialWhatLinksHere: Ensure namespace variable is defined

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