Page MenuHomePhabricator

Class 'TranslatablePage' not found
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.14

message
Class 'TranslatablePage' not found

Impact

Over 60 of this just now in a spike, in group0. This seems like a clear programming error, and as such I'm going to make it a train blocker, as it looks like it'd cause manylots errors in group1 and group2. If my analysis and guess is wrong, please tell me.

Notes

Details

Request ID
d5d1f1f7-efe6-4924-9787-5116e7bcd153
Request URL
https://www.mediawiki.org/w/api.php
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.36.0-wmf.14/includes/HookContainer/HookContainer.php(333): PageTranslationHooks::onPageContentLanguage(Title, LanguageEn, LanguageEn)
#1 /srv/mediawiki/php-1.36.0-wmf.14/includes/HookContainer/HookContainer.php(140): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#2 /srv/mediawiki/php-1.36.0-wmf.14/includes/HookContainer/HookRunner.php(2770): MediaWiki\HookContainer\HookContainer->run(string, array)
#3 /srv/mediawiki/php-1.36.0-wmf.14/includes/content/ContentHandler.php(729): MediaWiki\HookContainer\HookRunner->onPageContentLanguage(Title, LanguageEn, LanguageEn)
#4 /srv/mediawiki/php-1.36.0-wmf.14/includes/Title.php(4352): ContentHandler->getPageLanguage(Title)
#5 /srv/mediawiki/php-1.36.0-wmf.14/extensions/Wikibase/client/includes/Store/DescriptionLookup.php(135): Title->getPageLanguage()
#6 [internal function]: Wikibase\Client\Store\DescriptionLookup->Wikibase\Client\Store\{closure}(Title)
#7 /srv/mediawiki/php-1.36.0-wmf.14/extensions/Wikibase/client/includes/Store/DescriptionLookup.php(136): array_map(Closure, array)
#8 /srv/mediawiki/php-1.36.0-wmf.14/extensions/Wikibase/client/includes/Store/DescriptionLookup.php(73): Wikibase\Client\Store\DescriptionLookup->getCentralDescriptions(array)
#9 /srv/mediawiki/php-1.36.0-wmf.14/extensions/Wikibase/client/includes/Api/Description.php(97): Wikibase\Client\Store\DescriptionLookup->getDescriptions(array, array, array)
#10 /srv/mediawiki/php-1.36.0-wmf.14/includes/api/ApiQuery.php(263): Wikibase\Client\Api\Description->execute()
#11 /srv/mediawiki/php-1.36.0-wmf.14/includes/api/ApiMain.php(1572): ApiQuery->execute()
#12 /srv/mediawiki/php-1.36.0-wmf.14/includes/api/ApiMain.php(552): ApiMain->executeAction()
#13 /srv/mediawiki/php-1.36.0-wmf.14/includes/api/ApiMain.php(523): ApiMain->executeActionWithErrorHandling()
#14 /srv/mediawiki/php-1.36.0-wmf.14/api.php(90): ApiMain->execute()
#15 /srv/mediawiki/php-1.36.0-wmf.14/api.php(45): wfApiMain()
#16 /srv/mediawiki/w/api.php(3): require(string)
#17 {main}

Event Timeline

reedy@deploy1001:~$ mwscript eval.php mediawikiwiki
> var_dump( class_exists( 'TranslatablePage' ) );
bool(true)

Op cache issues?

100% of the TranslatablePage errors were on mw2328. The error occurred on no other appserver.

https://wikitech.wikimedia.org/wiki/User:CDanis/Diagnosing_opcache_corruption

LarsWirzenius claimed this task.

Closing as this seems to have been an opcache corruption issue.