Page MenuHomePhabricator

Catchable fatal error: Argument 1 passed to AbuseFilter::contentToString() must implement interface Content, null given, called in AbuseFilter.hooks.php on line 156 and defined in AbuseFilter.class.php on line 2286
Closed, DeclinedPublicPRODUCTION ERROR

Description

[20-Feb-2014 23:20:54] Catchable fatal error: Argument 1 passed to AbuseFilter::contentToString() must implement interface Content, null given, called in /usr/local/apache/common-local/php-1.23wmf14/extensions/AbuseFilter/AbuseFilter.hooks.php on line 156 and defined at /usr/local/apache/common-local/php-1.23wmf14/extensions/AbuseFilter/AbuseFilter.class.php on line 2286
Server: mw1021
Method: POST
URL: http://en.wikipedia.org/w/index.php?title=List_of_environmental_issues&action=submit
Cookie: edittoolscharsubset=0
Backtrace:
#0 /usr/local/apache/common-local/php-1.23wmf14/extensions/AbuseFilter/AbuseFilter.class.php(2286): AbuseFilter::contentToString()
#1 /usr/local/apache/common-local/php-1.23wmf14/extensions/AbuseFilter/AbuseFilter.hooks.php(156): AbuseFilter::contentToString(NULL)
#2 /usr/local/apache/common-local/php-1.23wmf14/extensions/AbuseFilter/AbuseFilter.hooks.php(106): AbuseFilterHooks::filterEdit(Object(RequestContext), Object(WikitextContent), '{{)?Sorry for p...', Object(Status), '', false)
#3 [internal function]: AbuseFilterHooks::onEditFilterMergedContent(Object(RequestContext), Object(WikitextContent), Object(Status), '', Object(User), false)
#4 /usr/local/apache/common-local/php-1.23wmf14/includes/Hooks.php(206): call_user_func_array('AbuseFilterHook...', Array)
#5 /usr/local/apache/common-local/php-1.23wmf14/includes/GlobalFunctions.php(4008): Hooks::run('EditFilterMerge...', Array, NULL)
#6 /usr/local/apache/common-local/php-1.23wmf14/includes/EditPage.php(1370): wfRunHooks('EditFilterMerge...', Array)
#7 /usr/local/apache/common-local/php-1.23wmf14/includes/EditPage.php(1715): EditPage->runPostMergeFilters(Object(WikitextContent), Object(Status), Object(User))
#8 /usr/local/apache/common-local/php-1.23wmf14/includes/EditPage.php(1236): EditPage->internalAttemptSave(false, false)
#9 /usr/local/apache/common-local/php-1.23wmf14/includes/EditPage.php(428): EditPage->attemptSave()
#10 /usr/local/apache/common-local/php-1.23wmf14/includes/actions/EditAction.php(50): EditPage->edit()
#11 /usr/local/apache/common-local/php-1.23wmf14/includes/actions/EditAction.php(74): EditAction->show()
#12 /usr/local/apache/common-local/php-1.23wmf14/includes/Wiki.php(428): SubmitAction->show()
#13 /usr/local/apache/common-local/php-1.23wmf14/includes/Wiki.php(292): MediaWiki->performAction(Object(Article), Object(Title))
#14 /usr/local/apache/common-local/php-1.23wmf14/includes/Wiki.php(586): MediaWiki->performRequest()
#15 /usr/local/apache/common-local/php-1.23wmf14/includes/Wiki.php(447): MediaWiki->main()
#16 /usr/local/apache/common-local/php-1.23wmf14/index.php(49): MediaWiki->run()
#17 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#18 {main}


Version: unspecified
Severity: normal

Details

Reference
bz61712

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:58 AM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz61712.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle closed this task as Declined.EditedSep 11 2018, 9:51 PM
Krinkle subscribed.

Not seen in WMF Logstash for at least 30 days.

Search on logstash/mediawiki-errors for message:"must implement interface Content" AND "AbuseFilter"

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM