Last modified: 2011-02-08 21:56:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28429, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26429 - Fatal error: PPFrame_DOM::expand: Invalid parameter type
Fatal error: PPFrame_DOM::expand: Invalid parameter type
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Highest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 26347 26430 26435 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-25 20:12 UTC by Raimond Spekking
Modified: 2011-02-08 21:56 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
DOM error and 4 Jimbos (415.28 KB, image/png)
2010-12-26 11:40 UTC, Nemo
Details

Description Raimond Spekking 2010-12-25 20:12:37 UTC
Seen today in various variants ( http://pastebin.com/S3G5EmPg ) on dewiki, maybe related to "Problems with db27 server, Large replag on S3, writes may not be visible directly" http://wikitech.wikimedia.org/index.php?title=Server_admin_log&action=historysubmit&diff=30992&oldid=30989

PPFrame_DOM::expand: Invalid parameter type

Backtrace:

    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(''Gr??nheide...')
    2 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(335): Parser->internalParse(''Gr??nheide...')
    3 [internal function]: Parser->parse(''Gr??nheide...', Object(Title), Object(ParserOptions), true, true, 82118939)
    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/extensions/FlaggedRevs/FlaggedRevs.class.php(499): StubObject->parse(''Gr??nheide...', Object(Title), Object(ParserOptions), true, true, 82118939)
    8 /usr/local/apache/common-local/wmf-deployment/extensions/FlaggedRevs/FlaggedArticleView.php(633): FlaggedRevs::parseStableText(Object(Title), ''Gr??nheide...', 82118939, Object(ParserOptions))
    9 /usr/local/apache/common-local/wmf-deployment/extensions/FlaggedRevs/FlaggedArticleView.php(297): FlaggedArticleView->showStableVersion(Object(FlaggedRevision), , NULL)
    10 /usr/local/apache/common-local/wmf-deployment/extensions/FlaggedRevs/FlaggedRevs.hooks.php(1466): FlaggedArticleView->setPageContent(false, true)
    11 [internal function]: FlaggedRevsHooks::onArticleViewHeader(Object(Article), false, true)
    12 /usr/local/apache/common-local/wmf-deployment/includes/Hooks.php(133): call_user_func_array(Array, Array)
    13 /usr/local/apache/common-local/wmf-deployment/includes/Article.php(817): wfRunHooks('ArticleViewHead...', Array)
    14 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(493): Article->view()
    15 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
    16 /usr/local/apache/common-local/wmf-deployment/index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
    17 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
    18 {main}
Comment 1 Niklas Laxström 2010-12-25 20:39:05 UTC

*** This bug has been marked as a duplicate of bug 26430 ***
Comment 2 Raimond Spekking 2010-12-25 20:39:05 UTC
*** Bug 26430 has been marked as a duplicate of this bug. ***
Comment 3 Frank Brall 2010-12-25 20:56:54 UTC
Seems to be a reason of changing the MySQL master by mark. 
http://wikitech.wikimedia.org/view/Server_admin_log

*** changed importance to high/critical ***
Comment 4 Helder 2010-12-25 22:38:07 UTC
I got the error again. Here is a copy:

----
PPFrame_DOM::expand: Invalid parameter type
Backtrace:
#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('<div id="editno...')
#2 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(4194): Parser->preprocess('<div id="editno...', Object(Title), Object(ParserOptions))
#3 /usr/local/apache/common-local/wmf-deployment/includes/MessageCache.php(674): Parser->transformMsg('<div id="editno...', Object(ParserOptions))
#4 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(744): MessageCache->transform('<div id="editno...')
#5 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(707): wfMsgGetKey('editnotice-10', true, true, true)
#6 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(655): wfMsgReal('editnotice-10', Array, true, true)
#7 /usr/local/apache/common-local/wmf-deployment/includes/EditPage.php(369): wfMsgForContent('editnotice-10')
#8 /usr/local/apache/common-local/wmf-deployment/includes/EditPage.php(271): EditPage->edit()
#9 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(553): EditPage->submit()
#10 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#11 /usr/local/apache/common-local/wmf-deployment/index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#12 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#13 {main}
----
Comment 5 Helder 2010-12-25 23:21:31 UTC
This time the error was:
----
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('<div class="mw-...')
#2 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(335): Parser->internalParse('<div class="mw-...')
#3 [internal function]: Parser->parse('<div class="mw-...', 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('<div class="mw-...', Object(Title), Object(ParserOptions), true, true, NULL)
#8 /usr/local/apache/common-local/wmf-deployment/includes/OutputPage.php(2570): OutputPage->parse('<div class="mw-...', true, true)
#9 /usr/local/apache/common-local/wmf-deployment/includes/EditPage.php(717): OutputPage->wrapWikiMsg('<div class="mw-...', 'newarticletext')
#10 /usr/local/apache/common-local/wmf-deployment/includes/EditPage.php(361): EditPage->showIntro()
#11 /usr/local/apache/common-local/wmf-deployment/includes/EditPage.php(271): EditPage->edit()
#12 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(553): EditPage->submit()
#13 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#14 /usr/local/apache/common-local/wmf-deployment/index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#15 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#16 {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}
----
Comment 7 Platonides 2010-12-26 00:48:41 UTC
http://pastebin.ca/2029200
Comment 8 Krinkle 2010-12-26 01:01:26 UTC
Another one, this one is from commons,
http://commons.wikimedia.org/wiki/Category:Copyright_violations

Error: http://pastie.org/1405733
Comment 9 John Nagle 2010-12-26 05:40:24 UTC
Another one, attempting to fetch history of a page on Wikipedia:

Internal error
From Wikipedia, the free encyclopedia
View logs for this page
Jump to: navigation, search

PPFrame_DOM::expand: Invalid parameter type

Backtrace:

#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('[[Special:Tags|...')
#2 /usr/local/apache/common-local/wmf-deployment/includes/parser/Parser.php(335): Parser->internalParse('[[Special:Tags|...')
#3 [internal function]: Parser->parse('[[Special:Tags|...', 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('[[Special:Tags|...', Object(Title), Object(ParserOptions), true, true, NULL)
#8 /usr/local/apache/common-local/wmf-deployment/includes/GlobalFunctions.php(884): OutputPage->parse('[[Special:Tags|...', true, true)
#9 /usr/local/apache/common-local/wmf-deployment/includes/ChangeTags.php(165): wfMsgExt('tag-filter', 'parseinline')
#10 /usr/local/apache/common-local/wmf-deployment/includes/HistoryPage.php(129): ChangeTags::buildTagFilterSelector(NULL)
#11 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(566): HistoryPage->history()
#12 /usr/local/apache/common-local/wmf-deployment/includes/Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#13 /usr/local/apache/common-local/wmf-deployment/index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#14 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#15 {main}
Comment 10 Bawolff (Brian Wolff) 2010-12-26 09:35:08 UTC
*** Bug 26435 has been marked as a duplicate of this bug. ***
Comment 11 Jérémie Roquet 2010-12-26 10:41:18 UTC
One more, when publishing with conflict (frwiki).

r7yeYvR7">http://pastebin.com/r7yeYvR7

BTW: is it actually useful to post these stacks?

Best regards,
Comment 12 Frank Brall 2010-12-26 11:10:42 UTC
Seems to be fixed temporary, if the error appears, try to purge the page.
Comment 13 Nemo 2010-12-26 11:40:05 UTC
Created attachment 7930 [details]
DOM error and 4 Jimbos

Another example on itwiki (with four Jimbo banners): http://p.defau.lt/?FZf_Pi_W9OtG03dOXu0d1A
Comment 14 Krinkle 2010-12-26 12:41:06 UTC
Appeared again on a page I didn't visit before, and likely no body else in a while (random old revision id)
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44719
http://pastie.org/1406373
Comment 15 Platonides 2010-12-26 17:39:35 UTC
Was fixed by restarting srv227.
Comment 16 Chad H. 2010-12-30 18:26:11 UTC
*** Bug 26347 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links