Page MenuHomePhabricator

Fatal error: Call to undefined method FlaggedRevision::getSha1()
Closed, ResolvedPublic

Description

[25-Jul-2013 21:16:19] Fatal error: Call to undefined method FlaggedRevision::getSha1() at /usr/local/apache/common-local/php-1.22wmf11/extensions/FlaggedRevs/backend/FlaggedRevs.hooks.php on line 540
Server: mw1071
Method: POST
URL: http://de.wikipedia.org/w/index.php?title=Tote_Stellung&action=submit
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf11/extensions/FlaggedRevs/backend/FlaggedRevs.hooks.php(540): FlaggedRevsHooks->isSelfRevertToStable()
#1 /usr/local/apache/common-local/php-1.22wmf11/extensions/FlaggedRevs/backend/FlaggedRevs.hooks.php(465): FlaggedRevsHooks::isSelfRevertToStable(Object(Revision), Object(FlaggedRevision), 120229574, Object(User))
#2 [internal function]: FlaggedRevsHooks::maybeMakeEditReviewed(Object(WikiPage), Object(Revision), false, Object(User))
#3 /usr/local/apache/common-local/php-1.22wmf11/includes/Hooks.php(199): call_user_func_array('FlaggedRevsHook...', Array)
#4 /usr/local/apache/common-local/php-1.22wmf11/includes/GlobalFunctions.php(3835): Hooks::run('NewRevisionFrom...', Array)
#5 /usr/local/apache/common-local/php-1.22wmf11/includes/WikiPage.php(1793): wfRunHooks('NewRevisionFrom...', Array)
#6 [internal function]: WikiPage->doEditContent(Object(WikitextContent), '', 98, false, NULL, 'text/x-wiki')
#7 /usr/local/apache/common-local/php-1.22wmf11/includes/Article.php(2021): call_user_func_array(Array, Array)
#8 /usr/local/apache/common-local/php-1.22wmf11/includes/EditPage.php(1736): Article->__call('doEditContent', Array)
#9 /usr/local/apache/common-local/php-1.22wmf11/includes/EditPage.php(1736): Article->doEditContent(Object(WikitextContent), '', 98, false, NULL, 'text/x-wiki')
#10 /usr/local/apache/common-local/php-1.22wmf11/includes/EditPage.php(1206): EditPage->internalAttemptSave(Array, false)
#11 /usr/local/apache/common-local/php-1.22wmf11/includes/EditPage.php(416): EditPage->attemptSave()
#12 /usr/local/apache/common-local/php-1.22wmf11/includes/actions/EditAction.php(50): EditPage->edit()
#13 /usr/local/apache/common-local/php-1.22wmf11/includes/actions/EditAction.php(76): EditAction->show()
#14 /usr/local/apache/common-local/php-1.22wmf11/includes/Wiki.php(439): SubmitAction->show()
#15 /usr/local/apache/common-local/php-1.22wmf11/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#16 /usr/local/apache/common-local/php-1.22wmf11/includes/Wiki.php(565): MediaWiki->performRequest()
#17 /usr/local/apache/common-local/php-1.22wmf11/includes/Wiki.php(458): MediaWiki->main()
#18 /usr/local/apache/common-local/php-1.22wmf11/index.php(55): MediaWiki->run()
#19 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')


Version: master
Severity: normal

Details

Reference
bz52051

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:48 AM
bzimport set Reference to bz52051.
bzimport added a subscriber: Unknown Object (MLST).
Reedy created this task.Jul 25 2013, 7:36 PM

Change 75989 had a related patch set uploaded by Aaron Schulz:
Fixed bogus method call

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

Change 75989 merged by Aaron Schulz:
Fixed bogus method call

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

Looks fixed by the merged patch set