Topic on Project:Support desk

Upgrade Error: includes/MagicWord.php: Error: invalid magic word 'ev'

4
Summary by Balloonhead666

Missing updates for EmbedVideo and Widgets were the resolution

Balloonhead666 (talkcontribs)

searched for a while and cannot get it to work after Upgrade from 1.30 to 1.34.

the System didn't worked with 1.30 anymore (blank pages) and i wanted to upgrade to 1.34 to see if this helps. Now I only get the magic word error. Independant of the PHP-Version 7.2 - 7.4


#0 /wiki/includes/MagicWordFactory.php(222): MagicWord->load(string)

#1 /wiki/includes/parser/Parser.php(5288): MagicWordFactory->get(string)

#2 /wiki/includes/StubObject.php(112): Parser->setFunctionHook(string, string)

#3 /wiki/includes/StubObject.php(138): StubObject->_call(string, array)

#4 /wiki/extensions/EmbedVideo/EmbedVideo.hooks.php(24): StubObject->__call(string, array)

#5 /wiki/extensions/EmbedVideo/EmbedVideo.hooks.php(17): EmbedVideo::addMagicWord(string, string, string)

#6 /wiki/includes/Hooks.php(174): EmbedVideo::setup(Parser)

#7 /wiki/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)

#8 /wiki/includes/parser/Parser.php(476): Hooks::run(string, array)

#9 /wiki/includes/cache/MessageCache.php(1189): Parser->firstCallInit()

#10 /wiki/includes/cache/MessageCache.php(1165): MessageCache->getParser()

#11 /wiki/includes/language/Message.php(1280): MessageCache->transform(string, boolean, Language, Title)

#12 /wiki/includes/language/Message.php(884): Message->transformText(string)

#13 /wiki/includes/language/Message.php(944): Message->toString(string)

#14 /wiki/includes/OutputPage.php(888): Message->text()

#15 /wiki/includes/OutputPage.php(937): OutputPage->setHTMLTitle(Message)

#16 /wiki/includes/page/Article.php(638): OutputPage->setPageTitle(string)

#17 /wiki/includes/actions/ViewAction.php(63): Article->view()

#18 /wiki/includes/MediaWiki.php(511): ViewAction->show()

#19 /wiki/includes/MediaWiki.php(302): MediaWiki->performAction(Article, Title)

#20 /wiki/includes/MediaWiki.php(900): MediaWiki->performRequest()

#21 /wiki/includes/MediaWiki.php(527): MediaWiki->main()

#22 /wiki/index.php(44): MediaWiki->run()

#23 {main}

Osnard (talkcontribs)

Have you also updated the "EmbedVideo" extension to REL1_34?

Balloonhead666 (talkcontribs)

Thanks for the hint. Upgraded that now. Error has gone but like before the upgrade I only get empty pages and dont know why. No error appears. https://balloonhead.de/wiki Hmm, could that be something with the database?

Balloonhead666 (talkcontribs)

wait had to update the WIDGETS Extension too. Sorry for this. Now it seems to work somehow. Thanks