Topic on Extension talk:DrawioEditor

Call to undefined method Parser::getUser()

2
91.21.63.238 (talkcontribs)

Good Morning. I just installed a fresh MediaWiki (1.38.1) and the extension DrawioEditor. Put my first diagram on a page, started the DrawioEditor, put some boxes there and saved to SVG. When opening that page again, I get an internal exception:

fe04eee533bd8cf6147fd7f7] /wiki/index.php/Equipment Error: Call to undefined method Parser::getUser()

Backtrace:

from /var/www/wiki/extensions/DrawioEditor/src/DrawioEditor.php(142)

#0 /var/www/extensions/DrawioEditor/src/DrawioEditor.php(69): MediaWiki\Extension\DrawioEditor\DrawioEditor->parse()

#1 /var/www/includes/parser/Parser.php(3413): MediaWiki\Extension\DrawioEditor\DrawioEditor->parseLegacyParserFunc()

#2 /var/www/wiki/includes/parser/Parser.php(3096): Parser->callParserFunction()

#3 /var/www/wiki/includes/parser/PPFrame_Hash.php(276): Parser->braceSubstitution()

#4 /var/www/wiki/includes/parser/Parser.php(2932): PPFrame_Hash->expand()

#5 /var/www/wiki/includes/parser/Parser.php(1579): Parser->replaceVariables()

#6 /var/www/wiki/includes/parser/Parser.php(697): Parser->internalParse()

I am logged in, MW is configured to allow write access only to registered users. Additionally, the whole web directory is protected by .htaccess, with a static password.

Any ideas? Kind regards, Michael

77.182.114.153 (talkcontribs)

Same error with MW 1.39, tried several versions of DrawioEditor

Reply to "Call to undefined method Parser::getUser()"