Extension talk:GetUserName

Jump to navigation Jump to search

About this board

Error: Call to undefined method Parser::disableCache()

1
Onandonandonandon (talkcontribs)

In MediaWiki 1.36.1 and GetUserName 2.0 I'm getting following error:

3b897e77d47c7339897b8fa] /wiki/index.php?title=PageTitle&action=submit Error: Call to undefined method Parser::disableCache()

Backtrace:

from /var/www/html/extensions/GetUserName/GetUserName.class.php(32)
#0 /var/www/html/includes/parser/Parser.php(3356): MediaWiki\Extension\GetUserName\GetUserName::magic(Parser, string)
#1 /var/www/html/includes/parser/Parser.php(3041): Parser->callParserFunction(PPFrame_Hash, string, array)
#2 /var/www/html/includes/parser/PPFrame_Hash.php(263): Parser->braceSubstitution(array, PPFrame_Hash)
#3 /var/www/html/includes/parser/Parser.php(2879): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
#4 /var/www/html/includes/parser/Parser.php(1549): Parser->replaceVariables(string)
#5 /var/www/html/includes/parser/Parser.php(639): Parser->internalParse(string)
#6 /var/www/html/includes/content/WikitextContent.php(375): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
#7 /var/www/html/includes/content/AbstractContent.php(591): WikitextContent->fillParserOutput(Title, NULL, ParserOptions, boolean, ParserOutput)
#8 /var/www/html/includes/EditPage.php(4238): AbstractContent->getParserOutput(Title, NULL, ParserOptions)
#9 /var/www/html/includes/EditPage.php(4143): EditPage->doPreviewParse(WikitextContent)
#10 /var/www/html/includes/EditPage.php(2920): EditPage->getPreviewText()
#11 /var/www/html/includes/EditPage.php(726): EditPage->showEditForm()
#12 /var/www/html/includes/actions/EditAction.php(71): EditPage->edit()
#13 /var/www/html/includes/actions/SubmitAction.php(38): EditAction->show()
#14 /var/www/html/includes/MediaWiki.php(531): SubmitAction->show()
#15 /var/www/html/includes/MediaWiki.php(315): MediaWiki->performAction(Article, Title)
#16 /var/www/html/includes/MediaWiki.php(913): MediaWiki->performRequest()
#17 /var/www/html/includes/MediaWiki.php(546): MediaWiki->main()
#18 /var/www/html/index.php(53): MediaWiki->run()
#19 /var/www/html/index.php(46): wfIndexMain()
#20 {main}

Is there a way to work around this?

Reply to "Error: Call to undefined method Parser::disableCache()"
There are no older topics