MediaWiki internal error.

Original exception: exception 'MWException' with message 'PPFrame_DOM::expand: Invalid parameter type' in /usr/local/apache/common-local/wmf-deployment/includes/parser/Preprocessor_DOM.php:1056
Stack trace:
#0 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(2733): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#1 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(935): Parser->replaceVariables('Harriv')
#2 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(335): Parser->internalParse('Harriv')
#3 [internal function]: Parser->parse('Harriv', Object(Title), Object(ParserOptions), true, true, NULL)
#4 /usr/local/apache/common-local/wmf-deployment/includes/StubObject.php(58): call_user_func_array(Array, Array)
#5 /usr/local/apache/common-local/wmf-deployment/includes/StubObject.php(76): StubObject->_call('parse', Array)
#6 [internal function]: StubObject->__call('parse', Array)
#7 /usr/local/apache/common-local/wmf-deployment/includes/OutputPage.php(1145): StubObject->parse('Harriv', Object(Title), Object(ParserOptions), true, true, NULL)
#8 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(884): OutputPage->parse('Harriv', true, true)
#9 /usr/local/apache/common-local/wmf-deployment/includes/specials/SpecialWatchlist.php(54): wfMsgExt('watchlistfor', 'parseinline', 'Harriv')
#10 [internal function]: wfSpecialWatchlist(NULL, Object(SpecialPage))
#11 /usr/local/apache/common-local/wmf-deployment/includes/SpecialPage.php(793): call_user_func('wfSpecialWatchl...', NULL, Object(SpecialPage))
#12 /usr/local/apache/common-local/wmf-deployment/includes/SpecialPage.php(561): SpecialPage->execute(NULL)
#13 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(254): SpecialPage::executePath(Object(Title))
#14 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(64): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#15 /usr/local/apache/common-local/wmf-deployment/index.php(117): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#16 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#17 {main}

Exception caught inside exception handler: exception 'MWException' with message 'PPFrame_DOM::expand: Invalid parameter type' in /usr/local/apache/common-local/wmf-deployment/includes/parser/Preprocessor_DOM.php:1056
Stack trace:
#0 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(2733): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#1 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(518): Parser->replaceVariables('{{SITENAME}} ({...')
#2 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(4194): Parser->preprocess('{{SITENAME}} ({...', Object(Title), Object(ParserOptions))
#3 /usr/local/apache/common-local/wmf-deployment/includes/MessageCache.php(674): Parser->transformMsg('{{SITENAME}} ({...', Object(ParserOptions))
#4 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(744): MessageCache->transform('{{SITENAME}} ({...')
#5 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(707): wfMsgGetKey('opensearch-desc', true, true, true)
#6 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(655): wfMsgReal('opensearch-desc', Array, true, true)
#7 /usr/local/apache/common-local/wmf-deployment/includes/Skin.php(203): wfMsgForContent('opensearch-desc')
#8 /usr/local/apache/common-local/wmf-deployment/skins/Vector.php(31): Skin->initPage(Object(OutputPage))
#9 /usr/local/apache/common-local/wmf-deployment/includes/SkinTemplate.php(146): SkinVector->initPage(Object(OutputPage))
#10 /usr/local/apache/common-local/wmf-deployment/includes/OutputPage.php(1559): SkinTemplate->outputPage(Object(OutputPage))
#11 /usr/local/apache/common-local/wmf-deployment/includes/Exception.php(164): OutputPage->output()
#12 /usr/local/apache/common-local/wmf-deployment/includes/Exception.php(191): MWException->reportHTML()
#13 /usr/local/apache/common-local/wmf-deployment/includes/Exception.php(289): MWException->report()
#14 /usr/local/apache/common-local/wmf-deployment/includes/Exception.php(348): wfReportException(Object(MWException))
#15 [internal function]: wfExceptionHandler(Object(MWException))
#16 {main}