Page MenuHomePhabricator

Error: Call to undefined method MediaWiki\Extension\EventStreamConfig\StreamConfig::get()
Closed, DeclinedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Error: Call to undefined method MediaWiki\Extension\EventStreamConfig\StreamConfig::get()
exception.trace
from /srv/mediawiki/php-1.38.0-wmf.4/extensions/CentralAuth/includes/CentralAuthDatabaseManager.php(107)
#0 /srv/mediawiki/php-1.38.0-wmf.4/extensions/CentralAuth/includes/CentralAuthUtils.php(49): MediaWiki\Extension\CentralAuth\CentralAuthDatabaseManager->getCentralDB(integer)
#1 /srv/mediawiki/php-1.38.0-wmf.4/extensions/CentralAuth/includes/CentralAuthUser.php(555): CentralAuthUtils::getCentralReplicaDB()
#2 /srv/mediawiki/php-1.38.0-wmf.4/includes/libs/objectcache/wancache/WANObjectCache.php(1771): CentralAuthUser->{closure}(array, integer, array, double, array)
#3 /srv/mediawiki/php-1.38.0-wmf.4/includes/libs/objectcache/wancache/WANObjectCache.php(2766): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)
#4 /srv/mediawiki/php-1.38.0-wmf.4/includes/deferred/MWCallableUpdate.php(38): WANObjectCache->{closure}()
#5 /srv/mediawiki/php-1.38.0-wmf.4/includes/deferred/DeferredUpdates.php(515): MWCallableUpdate->doUpdate()
#6 /srv/mediawiki/php-1.38.0-wmf.4/includes/deferred/DeferredUpdates.php(391): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti)
#7 /srv/mediawiki/php-1.38.0-wmf.4/includes/deferred/DeferredUpdates.php(221): DeferredUpdates::run(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti, Monolog\Logger, BufferingStatsdDataFactory, string)
#8 /srv/mediawiki/php-1.38.0-wmf.4/includes/deferred/DeferredUpdatesScope.php(267): DeferredUpdates::{closure}(MWCallableUpdate, integer)
#9 /srv/mediawiki/php-1.38.0-wmf.4/includes/deferred/DeferredUpdatesScope.php(196): DeferredUpdatesScope->processStageQueue(integer, integer, Closure)
#10 /srv/mediawiki/php-1.38.0-wmf.4/includes/deferred/DeferredUpdates.php(242): DeferredUpdatesScope->processUpdates(integer, Closure)
#11 /srv/mediawiki/php-1.38.0-wmf.4/includes/MediaWiki.php(1136): DeferredUpdates::doUpdates()
#12 /srv/mediawiki/php-1.38.0-wmf.4/includes/MediaWiki.php(846): MediaWiki->restInPeace()
#13 /srv/mediawiki/php-1.38.0-wmf.4/api.php(125): MediaWiki->doPostOutputShutdown()
#14 /srv/mediawiki/php-1.38.0-wmf.4/api.php(45): wfApiMain()
#15 /srv/mediawiki/w/api.php(3): require(string)
#16 {main}
Impact
Notes

Seems to be from one request

Details

Request URL
https://en.wikipedia.org/w/api.php

Event Timeline

Not at all sure what's going on here. CentralAuthDatabaseManager gets the $options object via MediaWiki's service container, and the wiring defines it's always going to be a ServiceOptions object and nothing else (even if the MainConfig service was overridden), and the call stack shows CentralAuthUtils which always gets CentralAuthDatabaseManager via the service container. I am tempted to close this unless we see it happening more than once.

Krinkle subscribed.

Agreed. Most likely opcache corruption. Affected only 1 host with an unexplainable error that would naturally be easy to reproduce if it wasn't an opcache error, and recovered on its own and is no longer reproducible without code changes.