Page MenuHomePhabricator

BadMethodCallException in Revision.php: Call to a member function getId() on a non-object (null)
Closed, DuplicatePublic

Description

Error

Request URL: /w/api.php?aflprop=ids%7Cdetails%7Ctimestamp&list=abuselog&format=json&aflstart=2013-03-14T16%3A39%3A26Z&action=query&aflfilter=30&afllimit=5000
Request ID: AWoEQ5VQ256y5QKdyaiH

message
BadMethodCallException from line 639 of /srv/mediawiki/php-1.33.0-wmf.24/includes/Revision.php: Call to a member function getId() on a non-object (null)
trace
#0 /srv/mediawiki/php-1.33.0-wmf.24/includes/page/WikiPage.php(575): Revision->getId()
#1 /srv/mediawiki/php-1.33.0-wmf.24/includes/page/WikiPage.php(514): WikiPage->loadFromRow(stdClass, integer)
#2 /srv/mediawiki/php-1.33.0-wmf.24/includes/Storage/DerivedPageDataUpdater.php(518): WikiPage->loadPageData(integer)
#3 /srv/mediawiki/php-1.33.0-wmf.24/includes/Storage/DerivedPageDataUpdater.php(751): MediaWiki\Storage\DerivedPageDataUpdater->grabCurrentRevision()
#4 /srv/mediawiki/php-1.33.0-wmf.24/includes/page/WikiPage.php(2009): MediaWiki\Storage\DerivedPageDataUpdater->prepareContent(User, MediaWiki\Storage\RevisionSlotsUpdate, boolean)
#5 /srv/mediawiki/php-1.33.0-wmf.24/extensions/AbuseFilter/includes/AFComputedVariable.php(211): WikiPage->prepareContentForEdit(WikitextContent)
#6 /srv/mediawiki/php-1.33.0-wmf.24/extensions/AbuseFilter/includes/AbuseFilterVariableHolder.php(58): AFComputedVariable->compute(AbuseFilterVariableHolder)
#7 /srv/mediawiki/php-1.33.0-wmf.24/extensions/AbuseFilter/includes/AbuseFilterVariableHolder.php(106): AbuseFilterVariableHolder->getVar(string)
#8 /srv/mediawiki/php-1.33.0-wmf.24/extensions/AbuseFilter/includes/api/ApiQueryAbuseLog.php(215): AbuseFilterVariableHolder->exportAllVars()
#9 /srv/mediawiki/php-1.33.0-wmf.24/includes/api/ApiQuery.php(249): ApiQueryAbuseLog->execute()
#10 /srv/mediawiki/php-1.33.0-wmf.24/includes/api/ApiMain.php(1595): ApiQuery->execute()
#11 /srv/mediawiki/php-1.33.0-wmf.24/includes/api/ApiMain.php(531): ApiMain->executeAction()
#12 /srv/mediawiki/php-1.33.0-wmf.24/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()
#13 /srv/mediawiki/php-1.33.0-wmf.24/api.php(87): ApiMain->execute()
#14 /srv/mediawiki/w/api.php(3): include(string)
#15 {main}

Impact

Logspam

Notes

355 occurrences in the past 1 hour.

Event Timeline

mmodell created this task.Apr 9 2019, 10:53 PM
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM