Page MenuHomePhabricator

Error from line 607 of /srv/mediawiki/core/extensions/Score/Score.body.php: Call to undefined method StatusValue::getWikiText()
Closed, ResolvedPublic

Description

[fa385d7bd7ed45a71d38bd6b] /vagrant/index.php?title=Score&action=submit Error from line 607 of /srv/mediawiki/core/extensions/Score/Score.body.php: Call to undefined method StatusValue::getWikiText()

Backtrace:

#0 /srv/mediawiki/core/extensions/Score/Score.body.php(381): Score::generatePngAndMidi(string, array, array)
#1 /srv/mediawiki/core/extensions/Score/Score.body.php(292): Score::generateHTML(Parser, string, array)
#2 /srv/mediawiki/core/includes/parser/Parser.php(3852): Score::render(string, array, Parser, PPFrame_DOM)
#3 /srv/mediawiki/core/includes/parser/Preprocessor_DOM.php(1314): Parser->extensionSubstitution(array, PPFrame_DOM)
#4 /srv/mediawiki/core/includes/parser/Parser.php(2921): PPFrame_DOM->expand(DOMElement, integer)
#5 /srv/mediawiki/core/includes/parser/Parser.php(1277): Parser->replaceVariables(string)
#6 /srv/mediawiki/core/includes/parser/Parser.php(451): Parser->internalParse(string)
#7 /srv/mediawiki/core/includes/content/WikitextContent.php(329): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
#8 /srv/mediawiki/core/includes/content/AbstractContent.php(516): WikitextContent->fillParserOutput(Title, NULL, ParserOptions, boolean, ParserOutput)
#9 /srv/mediawiki/core/includes/page/WikiPage.php(2110): AbstractContent->getParserOutput(Title, NULL, ParserOptions)
#10 /srv/mediawiki/core/includes/page/WikiPage.php(1638): WikiPage->prepareContentForEdit(WikitextContent, NULL, User, string, boolean)
#11 /srv/mediawiki/core/includes/EditPage.php(2225): WikiPage->doEditContent(WikitextContent, string, integer, boolean, User, string, array, integer)
#12 /srv/mediawiki/core/includes/EditPage.php(1537): EditPage->internalAttemptSave(array, boolean)
#13 /srv/mediawiki/core/includes/EditPage.php(683): EditPage->attemptSave(array)
#14 /srv/mediawiki/core/includes/actions/EditAction.php(60): EditPage->edit()
#15 /srv/mediawiki/core/includes/actions/SubmitAction.php(38): EditAction->show()
#16 /srv/mediawiki/core/includes/MediaWiki.php(499): SubmitAction->show()
#17 /srv/mediawiki/core/includes/MediaWiki.php(293): MediaWiki->performAction(Article, Title)
#18 /srv/mediawiki/core/includes/MediaWiki.php(851): MediaWiki->performRequest()
#19 /srv/mediawiki/core/includes/MediaWiki.php(523): MediaWiki->main()
#20 /srv/mediawiki/core/index.php(43): MediaWiki->run()
#21 {main}

Patch incoming.

Event Timeline

Legoktm created this task.Nov 28 2017, 6:58 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 28 2017, 6:58 PM

Change 393826 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[mediawiki/extensions/Score@master] Pass 'statusWrapper' to FSFileBackend

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

Given that this has been broken since 1.28 I don't think it ever occurred in production :)

Change 393826 merged by jenkins-bot:
[mediawiki/extensions/Score@master] Pass 'statusWrapper' to FSFileBackend

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

Change 393834 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[mediawiki/extensions/Score@REL1_30] Pass 'statusWrapper' to FSFileBackend

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

Legoktm closed this task as Resolved.Nov 28 2017, 8:01 PM

Change 393834 merged by jenkins-bot:
[mediawiki/extensions/Score@REL1_30] Pass 'statusWrapper' to FSFileBackend

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