[MediaWiki-l] Getting 'MediaWiki internal error Error: invalid magic word' from many different extensions when trying to update mediawiki

Jorge Araya Navarro elcorreo at deshackra.com
Thu Feb 26 22:04:32 UTC 2015


Hello!

When I try to update my mediawiki instance, after selecting the language, MediaWiki throws an internal error:

--8<---------------cut here---------------start------------->8---
Original exception: [a9849074] /mw-config/?page=ExistingWiki Exception from line 341 of
/home/deshackr/public_html/wikicatolica/includes/MagicWord.php: Error: invalid magic word 'get_web_data'
--8<---------------cut here---------------end--------------->8---

The invalid magic word changes as I enable/disable extensions, I don't know why this happen, I really wish to
have this fixed since is cumbersome to disable a massive amount of extensions when updating. The complete
error can be seen here:

--8<---------------cut here---------------start------------->8---
MediaWiki internal error.

Original exception: [3d7ad120] /mw-config/ Exception from line 341 of /home/deshackr/public_html/wikicatolica/includes/MagicWord.php: Error: invalid magic word 'get_web_data'
Backtrace:
#0 /home/deshackr/public_html/wikicatolica/includes/MagicWord.php(264): MagicWord->load(string)
#1 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(5159): MagicWord::get(string)
#2 /home/deshackr/public_html/wikicatolica/extensions/ExternalData/ExternalData.php(55): Parser->setFunctionHook(string, array)
#3 [internal function]: edgRegisterParser(Parser)
#4 /home/deshackr/public_html/wikicatolica/includes/Hooks.php(206): call_user_func_array(string, array)
#5 /home/deshackr/public_html/wikicatolica/includes/GlobalFunctions.php(3995): Hooks::run(string, array, NULL)
#6 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(279): wfRunHooks(string, array)
#7 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(291): Parser->firstCallInit()
#8 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(5000): Parser->clearState()
#9 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(377): Parser->startParse(Title, ParserOptions, integer, boolean)
#10 /home/deshackr/public_html/wikicatolica/includes/installer/Installer.php(631): Parser->parse(string, Title, ParserOptions, boolean)
#11 /home/deshackr/public_html/wikicatolica/includes/installer/WebInstaller.php(676): Installer->parse(string, boolean)
#12 /home/deshackr/public_html/wikicatolica/includes/installer/WebInstallerPage.php(392): WebInstaller->getInfoBox(string)
#13 /home/deshackr/public_html/wikicatolica/includes/installer/WebInstallerPage.php(380): WebInstallerExistingWiki->showKeyForm()
#14 /home/deshackr/public_html/wikicatolica/includes/installer/WebInstaller.php(280): WebInstallerExistingWiki->execute()
#15 /home/deshackr/public_html/wikicatolica/mw-config/index.php(79): WebInstaller->execute(array)
#16 /home/deshackr/public_html/wikicatolica/mw-config/index.php(38): wfInstallerMain()
#17 {main}

Exception caught inside exception handler: [fc032f57] /mw-config/ Exception from line 341 of /home/deshackr/public_html/wikicatolica/includes/MagicWord.php: Error: invalid magic word 'MAG_HIDEFROMDRILLDOWN'
Backtrace:
#0 /home/deshackr/public_html/wikicatolica/includes/MagicWord.php(264): MagicWord->load(string)
#1 /home/deshackr/public_html/wikicatolica/includes/MagicWord.php(764): MagicWord::get(string)
#2 /home/deshackr/public_html/wikicatolica/includes/MagicWord.php(933): MagicWordArray->getHash()
#3 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(3429): MagicWordArray->matchStartToEnd(string)
#4 /home/deshackr/public_html/wikicatolica/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(array, PPFrame_DOM)
#5 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(3281): PPFrame_DOM->expand(PPNode_DOM, integer)
#6 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(637): Parser->replaceVariables(string, boolean)
#7 /home/deshackr/public_html/wikicatolica/includes/parser/Parser.php(5027): Parser->preprocess(string, NULL, ParserOptions)
#8 /home/deshackr/public_html/wikicatolica/includes/cache/MessageCache.php(1010): Parser->transformMsg(string, ParserOptions, NULL)
#9 /home/deshackr/public_html/wikicatolica/includes/Message.php(1023): MessageCache->transform(string, boolean, LanguageEs, NULL)
#10 /home/deshackr/public_html/wikicatolica/includes/Message.php(703): Message->transformText(string)
#11 /home/deshackr/public_html/wikicatolica/includes/Message.php(766): Message->toString()
#12 /home/deshackr/public_html/wikicatolica/includes/exception/MWException.php(120): Message->text()
#13 /home/deshackr/public_html/wikicatolica/includes/exception/MWException.php(202): MWException->msg(string, string, string)
#14 /home/deshackr/public_html/wikicatolica/includes/exception/MWException.php(238): MWException->reportHTML()
#15 /home/deshackr/public_html/wikicatolica/includes/exception/MWExceptionHandler.php(45): MWException->report()
#16 /home/deshackr/public_html/wikicatolica/includes/exception/MWExceptionHandler.php(141): MWExceptionHandler::report(MWException)
#17 [internal function]: MWExceptionHandler::handle(MWException)
#18 {main}
--8<---------------cut here---------------end--------------->8---

Here is the complete list of my enable extensions:

--8<---------------cut here---------------start------------->8---
# Enabled Extensions. Most extensions are enabled by including the base extension file here
# but check specific extension documentation for more details
# The following extensions were automatically enabled:
require_once "$IP/extensions/AbuseFilter/AbuseFilter.php";
require_once "$IP/extensions/AddThis/AddThis.php";
require_once "$IP/extensions/AdminLinks/AdminLinks.php";
require_once "$IP/extensions/AntiSpoof/AntiSpoof.php";
require_once "$IP/extensions/ApprovedRevs/ApprovedRevs.php";
require_once "$IP/extensions/Arrays/Arrays.php";
require_once "$IP/extensions/CategoryTree/CategoryTree.php";
require_once "$IP/extensions/CentralNotice/CentralNotice.php";
require_once "$IP/extensions/CheckUser/CheckUser.php";
require_once "$IP/extensions/Cite/Cite.php";
require_once "$IP/extensions/Collection/Collection.php";
require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";
require_once "$IP/extensions/DataTransfer/DataTransfer.php";
require_once "$IP/extensions/Disambiguator/Disambiguator.php";
require_once "$IP/extensions/DismissableSiteNotice/DismissableSiteNotice.php";
require_once "$IP/extensions/Echo/Echo.php";
require_once "$IP/extensions/EventLogging/EventLogging.php";
require_once "$IP/extensions/ExternalData/ExternalData.php";
require_once "$IP/extensions/Flow/Flow.php";
require_once "$IP/extensions/Gadgets/Gadgets.php";
require_once "$IP/extensions/GuidedTour/GuidedTour.php";
require_once "$IP/extensions/HeaderTabs/HeaderTabs.php";
require_once "$IP/extensions/ImageMap/ImageMap.php";
require_once "$IP/extensions/InputBox/InputBox.php";
require_once "$IP/extensions/Interwiki/Interwiki.php";
require_once "$IP/extensions/InviteSignup/InviteSignup.php";
require_once "$IP/extensions/Lingo/Lingo.php";
require_once "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php";
require_once "$IP/extensions/Lockdown/Lockdown.php";
require_once "$IP/extensions/Maintenance/Maintenance.php";
require_once "$IP/extensions/Mantle/Mantle.php";
#  Fatal error: Class 'MapsMappingServices' not found in
# /home/deshackr/public_html/wikicatolica/extensions/Maps/includes/services/GoogleMaps3/GoogleMaps3.php on
# line 98 
#require_once "$IP/extensions/Maps/Maps.php";
require_once "$IP/extensions/MassMessage/MassMessage.php";
require_once "$IP/extensions/Model/Model.php";
require_once "$IP/extensions/MultiUpload/MultiUpload.php";
require_once "$IP/extensions/Nuke/Nuke.php";
require_once "$IP/extensions/PageSchemas/PageSchemas.php";
require_once "$IP/extensions/ParserFunctions/ParserFunctions.php";
require_once "$IP/extensions/PdfHandler/PdfHandler.php";
require_once "$IP/extensions/Piwik/Piwik.php";
require_once "$IP/extensions/Poem/Poem.php";
require_once "$IP/extensions/QuestyPage/QuestyPage.php";
require_once "$IP/extensions/Renameuser/Renameuser.php";
require_once "$IP/extensions/ReplaceText/ReplaceText.php";
require_once "$IP/extensions/SandboxLink/SandboxLink.php";
require_once "$IP/extensions/SemanticCompoundQueries/SemanticCompoundQueries.php";
require_once "$IP/extensions/SemanticDrilldown/SemanticDrilldown.php";
require_once "$IP/extensions/SemanticExtraSpecialProperties/SemanticExtraSpecialProperties.php";
require_once "$IP/extensions/SemanticForms/SemanticForms.php";
require_once "$IP/extensions/SemanticFormsInputs/SemanticFormsInputs.php";
require_once "$IP/extensions/SemanticGlossary/SemanticGlossary.php";
#require_once "$IP/extensions/SemanticHighcharts/SemanticHighcharts.php";
require_once "$IP/extensions/SemanticImageInput/SemanticImageInput.php";
#require_once "$IP/extensions/SemanticInternalObjects/SemanticInternalObjects.php";
#require_once "$IP/extensions/SemanticMaps/SemanticMaps.php";
require_once "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php";
require_once "$IP/extensions/SemanticResultFormats/SemanticResultFormats.php";
require_once "$IP/extensions/SemanticWatchlist/SemanticWatchlist.php";
require_once "$IP/extensions/SpamBlacklist/SpamBlacklist.php";
require_once "$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php";
require_once "$IP/extensions/TemplateSandbox/TemplateSandbox.php";
require_once "$IP/extensions/Thanks/Thanks.php";
require_once "$IP/extensions/TitleBlacklist/TitleBlacklist.php";
require_once "$IP/extensions/TorBlock/TorBlock.php";
require_once "$IP/extensions/UserMerge/UserMerge.php";
require_once "$IP/extensions/Validator/Validator.php";
require_once "$IP/extensions/Voting/Voting.php";
require_once "$IP/extensions/Widgets/Widgets.php";
require_once "$IP/extensions/WikiEditor/WikiEditor.php";

# End of automatically generated settings.
# Add more configuration options below.
--8<---------------cut here---------------end--------------->8---

Running:
* MediaWiki 1.24.1
* PHP 5.4.36 (cgi-fcgi)
* MySQL 5.6.22

-- 
Pax et bonum.
Jorge Araya Navarro.
ES: DiseƱador Publicitario, Programador Python y colaborador en Parabola GNU/Linux-libre
EN: Ads Designer, Python programmer and contributor Parabola GNU/Linux-libre
EO: Anonco grafikisto, Pitino programalingvo programisto kai kontribuanto en Parabola GNU/Linux-libre
https://es.gravatar.com/shackra



More information about the MediaWiki-l mailing list