Page MenuHomePhabricator

Suggested investigations: Sometimes attempts to read property "sic_status_reason" on false
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
  • mwversion: 1.46.0-wmf.7
  • timestamp: 2026-01-05T00:10:26.147Z
  • phpversion: 8.3.28
  • reqId: d3cdb7a2-f2eb-4539-a78e-c5b6ac294b04
  • Find reqId in Logstash
normalized_message
[{reqId}] {exception_url}   PHP Warning: Attempt to read property "sic_status_reason" on false
FrameLocationCall
from/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/SuggestedInvestigations/Instrumentation/SuggestedInvestigationsInstrumentationClient.php(113)
#0/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/SuggestedInvestigations/Instrumentation/SuggestedInvestigationsInstrumentationClient.php(113)MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/SuggestedInvestigations/Instrumentation/SuggestedInvestigationsInstrumentationClient.php(57)MediaWiki\CheckUser\SuggestedInvestigations\Instrumentation\SuggestedInvestigationsInstrumentationClient->expandInteractionDataWithCaseSpecificFields(array)
#2/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/SuggestedInvestigations/Services/SuggestedInvestigationsCaseManagerService.php(118)MediaWiki\CheckUser\SuggestedInvestigations\Instrumentation\SuggestedInvestigationsInstrumentationClient->submitInteraction(MediaWiki\Context\RequestContext, string, array)
#3/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/SuggestedInvestigations/Services/SuggestedInvestigationsSignalMatchService.php(131)MediaWiki\CheckUser\SuggestedInvestigations\Services\SuggestedInvestigationsCaseManagerService->createCase(array, array)
#4/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/SuggestedInvestigations/Services/SuggestedInvestigationsSignalMatchService.php(113)MediaWiki\CheckUser\SuggestedInvestigations\Services\SuggestedInvestigationsSignalMatchService->createNewCase(MediaWiki\User\User, MediaWiki\CheckUser\SuggestedInvestigations\Signals\SuggestedInvestigationsSignalMatchResult)
#5/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/SuggestedInvestigations/Services/SuggestedInvestigationsSignalMatchService.php(80)MediaWiki\CheckUser\SuggestedInvestigations\Services\SuggestedInvestigationsSignalMatchService->processMergeableSignal(MediaWiki\User\User, MediaWiki\CheckUser\SuggestedInvestigations\Signals\SuggestedInvestigationsSignalMatchResult)
#6/srv/mediawiki/php-1.46.0-wmf.7/extensions/CheckUser/src/HookHandler/SuggestedInvestigationsHandler.php(92)MediaWiki\CheckUser\SuggestedInvestigations\Services\SuggestedInvestigationsSignalMatchService->matchSignalsAgainstUser(MediaWiki\User\User, string, array)
#7/srv/mediawiki/php-1.46.0-wmf.7/includes/Deferred/MWCallableUpdate.php(52)MediaWiki\CheckUser\HookHandler\SuggestedInvestigationsHandler->MediaWiki\CheckUser\HookHandler\{closure}(string)
#8/srv/mediawiki/php-1.46.0-wmf.7/includes/Deferred/DeferredUpdates.php(445)MediaWiki\Deferred\MWCallableUpdate->doUpdate()
#9/srv/mediawiki/php-1.46.0-wmf.7/includes/Deferred/DeferredUpdates.php(187)MediaWiki\Deferred\DeferredUpdates::attemptUpdate(MediaWiki\Deferred\MWCallableUpdate)
#10/srv/mediawiki/php-1.46.0-wmf.7/includes/Deferred/DeferredUpdates.php(274)MediaWiki\Deferred\DeferredUpdates::run(MediaWiki\Deferred\MWCallableUpdate)
#11/srv/mediawiki/php-1.46.0-wmf.7/includes/Deferred/DeferredUpdatesScope.php(229)MediaWiki\Deferred\DeferredUpdates::MediaWiki\Deferred\{closure}(MediaWiki\Deferred\MWCallableUpdate, int)
#12/srv/mediawiki/php-1.46.0-wmf.7/includes/Deferred/DeferredUpdatesScope.php(158)MediaWiki\Deferred\DeferredUpdatesScope->processStageQueue(int, int, Closure)
#13/srv/mediawiki/php-1.46.0-wmf.7/includes/Deferred/DeferredUpdates.php(268)MediaWiki\Deferred\DeferredUpdatesScope->processUpdates(int, Closure)
#14/srv/mediawiki/php-1.46.0-wmf.7/includes/MediaWikiEntryPoint.php(653)MediaWiki\Deferred\DeferredUpdates::doUpdates()
#15/srv/mediawiki/php-1.46.0-wmf.7/includes/MediaWikiEntryPoint.php(475)MediaWiki\MediaWikiEntryPoint->restInPeace()
#16/srv/mediawiki/php-1.46.0-wmf.7/includes/MediaWikiEntryPoint.php(433)MediaWiki\MediaWikiEntryPoint->doPostOutputShutdown()
#17/srv/mediawiki/php-1.46.0-wmf.7/includes/MediaWikiEntryPoint.php(190)MediaWiki\MediaWikiEntryPoint->postOutputShutdown()
#18/srv/mediawiki/php-1.46.0-wmf.7/index.php(44)MediaWiki\MediaWikiEntryPoint->run()
#19/srv/mediawiki/w/index.php(3)require(string)
#20{main}
Impact
Notes

Probably the new case was inserted to the primary DB, but wasn't propagated to the replica, which caused this warning.

Details

Request URL
https://en.wikipedia.org/w/index.php?action=submit&title=*
Related Changes in Gerrit:

Event Timeline

Restricted Application changed the subtype of this task from "Production Error" to "Task". · View Herald Transcript
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Restricted Application changed the subtype of this task from "Task" to "Production Error". · View Herald TranscriptJan 5 2026, 8:56 AM

Change #1224825 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] SI instrumentation: Don't attempt to read row if no row was found

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

Change #1224825 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI instrumentation: Don't attempt to read row if no row was found

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

QA will be verifying the logstash logs no longer appear when this is deployed to production