Topic on Talk:Utfnormal

Error from line 141 of /volume1/web/mediawiki/extensions/Scribunto/common/Hooks.php: Class 'UtfNormal' not found

6
Kbrobgy7 (talkcontribs)

I am upgrade mediawiki 1.32 to 1.33.1

I met the this message. What should I do? Thank a lot !!

[918f034b6cf56395974829e0] /mediawiki/index.php?title=%EC%86%8C%EC%9D%8C%EC%88%9C%EC%9C%A0%EC%B0%A9 Error from line 141 of /volume1/web/mediawiki/extensions/Scribunto/common/Hooks.php: Class 'UtfNormal' not found

Backtrace:

#0 /volume1/web/mediawiki/includes/parser/Parser.php(3528): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_DOM, array)

#1 /volume1/web/mediawiki/includes/parser/Parser.php(3235): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)

#2 /volume1/web/mediawiki/includes/parser/Preprocessor_DOM.php(1285): Parser->braceSubstitution(array, PPTemplateFrame_DOM)

#3 /volume1/web/mediawiki/extensions/ParserFunctions/includes/ParserFunctions.php(116): PPFrame_DOM->expand(DOMElement)

#4 /volume1/web/mediawiki/includes/parser/Parser.php(3528): MediaWiki\Extensions\ParserFunctions\ParserFunctions::ifObj(Parser, PPTemplateFrame_DOM, array)

#5 /volume1/web/mediawiki/includes/parser/Parser.php(3235): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)

#6 /volume1/web/mediawiki/includes/parser/Preprocessor_DOM.php(1285): Parser->braceSubstitution(array, PPTemplateFrame_DOM)

#7 /volume1/web/mediawiki/includes/parser/Parser.php(3409): PPFrame_DOM->expand(DOMElement)

#8 /volume1/web/mediawiki/includes/parser/Preprocessor_DOM.php(1285): Parser->braceSubstitution(array, PPTemplateFrame_DOM)

#9 /volume1/web/mediawiki/includes/parser/Parser.php(3409): PPFrame_DOM->expand(DOMElement)

#10 /volume1/web/mediawiki/includes/parser/Preprocessor_DOM.php(1285): Parser->braceSubstitution(array, PPFrame_DOM)

#11 /volume1/web/mediawiki/includes/parser/Parser.php(3049): PPFrame_DOM->expand(DOMElement, integer)

#12 /volume1/web/mediawiki/includes/parser/Parser.php(1359): Parser->replaceVariables(string)

#13 /volume1/web/mediawiki/includes/parser/Parser.php(491): Parser->internalParse(string)

#14 /volume1/web/mediawiki/includes/content/WikitextContent.php(369): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)

#15 /volume1/web/mediawiki/includes/content/AbstractContent.php(555): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)

#16 /volume1/web/mediawiki/includes/Revision/RenderedRevision.php(265): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)

#17 /volume1/web/mediawiki/includes/Revision/RenderedRevision.php(234): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)

#18 /volume1/web/mediawiki/includes/Revision/RevisionRenderer.php(193): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)

#19 /volume1/web/mediawiki/includes/Revision/RevisionRenderer.php(142): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)

#20 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)

#21 /volume1/web/mediawiki/includes/Revision/RenderedRevision.php(197): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)

#22 /volume1/web/mediawiki/includes/poolcounter/PoolWorkArticleView.php(194): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()

#23 /volume1/web/mediawiki/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()

#24 /volume1/web/mediawiki/includes/page/Article.php(773): PoolCounterWork->execute()

#25 /volume1/web/mediawiki/includes/actions/ViewAction.php(68): Article->view()

#26 /volume1/web/mediawiki/includes/MediaWiki.php(499): ViewAction->show()

#27 /volume1/web/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)

#28 /volume1/web/mediawiki/includes/MediaWiki.php(865): MediaWiki->performRequest()

#29 /volume1/web/mediawiki/includes/MediaWiki.php(515): MediaWiki->main()

#30 /volume1/web/mediawiki/index.php(42): MediaWiki->run()

#31 {main}

Ammarpad (talkcontribs)

You should run composer install in the extension directory to update/install missing dependencies.

2001:E60:104B:3227:C0FF:9FA4:A145:1679 (talkcontribs)

Thank a lot for reply !!

Yes. I am install utfnormal in the extion directory

but same message !! I am newbies!

Ammarpad (talkcontribs)

How did you instaall it? copy the result/errors from the output.

106.255.206.66 (talkcontribs)

I am install utfnormal by composer require wikimedia/utfnormal at mediawiki extension directory

after that, I run update.php at mediawiki/maintenance directory


I met this message.

wikimedia/utfnormal: 2.0.0 installed, ^2.0 required.

Error: Your composer.lock file is not up to date. Run "composer update --no-dev" to install newer dependencies


I excute php composer update --no-dev . but same error message and no visible page.

thank a lot !!

Ammarpad (talkcontribs)

You should run composer install not composer require .

Reply to "Error from line 141 of /volume1/web/mediawiki/extensions/Scribunto/common/Hooks.php: Class 'UtfNormal' not found"