Page MenuHomePhabricator

Call to a member function getContent() on a non-object (null)
Closed, DuplicatePublic

Description

reedy@mwlog1001:/srv/mw-log$ grep WqrjdwpAIDEAAJKEgowAAAAC exception.log -A 15
2018-03-15 21:19:53 [WqrjdwpAIDEAAJKEgowAAAAC] mw1328 enwiki 1.31.0-wmf.25 exception ERROR: [WqrjdwpAIDEAAJKEgowAAAAC] /wiki/Special:AbuseFilter/examine/log/7686521   BadMethodCallException from line 938 of /srv/mediawiki/php-1.31.0-wmf.25/includes/Revision.php: Call to a member function getContent() on a non-object (null) {"exception_id":"WqrjdwpAIDEAAJKEgowAAAAC","exception_url":"/wiki/Special:AbuseFilter/examine/log/7686521","caught_by":"mwe_handler"}
[Exception BadMethodCallException] (/srv/mediawiki/php-1.31.0-wmf.25/includes/Revision.php:938) Call to a member function getContent() on a non-object (null)
  #0 /srv/mediawiki/php-1.31.0-wmf.25/includes/page/WikiPage.php(722): Revision->getContent(integer, NULL)
  #1 /srv/mediawiki/php-1.31.0-wmf.25/includes/page/WikiPage.php(2132): WikiPage->getContent(integer)
  #2 /srv/mediawiki/php-1.31.0-wmf.25/includes/page/Article.php(2463): WikiPage->prepareContentForEdit(WikitextContent, NULL, User, string, boolean)
  #3 /srv/mediawiki/php-1.31.0-wmf.25/extensions/AbuseFilter/includes/AFComputedVariable.php(195): Article->prepareContentForEdit(WikitextContent)
  #4 /srv/mediawiki/php-1.31.0-wmf.25/extensions/AbuseFilter/includes/AbuseFilterVariableHolder.php(46): AFComputedVariable->compute(AbuseFilterVariableHolder)
  #5 /srv/mediawiki/php-1.31.0-wmf.25/extensions/AbuseFilter/includes/AbuseFilterVariableHolder.php(185): AbuseFilterVariableHolder->getVar(string)
  #6 /srv/mediawiki/php-1.31.0-wmf.25/extensions/AbuseFilter/includes/Views/AbuseFilterViewExamine.php(140): AbuseFilterVariableHolder->dumpAllVars(boolean)
  #7 /srv/mediawiki/php-1.31.0-wmf.25/extensions/AbuseFilter/includes/Views/AbuseFilterViewExamine.php(24): AbuseFilterViewExamine->showExaminerForLogEntry(string)
  #8 /srv/mediawiki/php-1.31.0-wmf.25/extensions/AbuseFilter/includes/special/SpecialAbuseFilter.php(116): AbuseFilterViewExamine->show()
  #9 /srv/mediawiki/php-1.31.0-wmf.25/includes/specialpage/SpecialPage.php(522): SpecialAbuseFilter->execute(string)
  #10 /srv/mediawiki/php-1.31.0-wmf.25/includes/specialpage/SpecialPageFactory.php(579): SpecialPage->run(string)
  #11 /srv/mediawiki/php-1.31.0-wmf.25/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Title, RequestContext)
  #12 /srv/mediawiki/php-1.31.0-wmf.25/includes/MediaWiki.php(861): MediaWiki->performRequest()
  #13 /srv/mediawiki/php-1.31.0-wmf.25/includes/MediaWiki.php(524): MediaWiki->main()
  #14 /srv/mediawiki/php-1.31.0-wmf.25/index.php(42): MediaWiki->run()
  #15 /srv/mediawiki/w/index.php(3): include(string)
  #16 {main}

Event Timeline

Reedy created this task.Mar 15 2018, 10:35 PM
Restricted Application added subscribers: Scoopfinder, Aklapper. · View Herald TranscriptMar 15 2018, 10:35 PM
Reedy renamed this task from Call to a member function getContent() to Call to a member function getContent() on a non-object (null) .Mar 15 2018, 10:39 PM
Reedy updated the task description. (Show Details)Mar 15 2018, 11:03 PM
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:09 PM