Page MenuHomePhabricator

SyntaxHighlight: Object of class Parser could not be converted to string
Closed, InvalidPublic

Description

SyntaxHighlight 1.0.8.12 (47183d0), MW 1.25.2 throws an exception; in addition it crashes HHVM 3.9.1.

HHVM stacktrace:

PHP Stacktrace:

#0  GeSHi->parse_non_string_part( \leftthreetimes \rightthreetimes) called at [/var/www/wiki/w/extensions/SyntaxHighlight_GeSHi/geshi/geshi.php:3107]
#1  GeSHi->parse_code() called at [/var/www/wiki/w/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php:123]
#2  SyntaxHighlight_GeSHi::parserHook(\leftthreetimes \rightthreetimes, Array, Object of class Parser could not be converted to string, frame{}) called at [/var/www/wiki/w/includes/parser/Parser.php:4212]
#3  Parser->extensionSubstitution(Array, frame{}) called at [/var/www/wiki/w/includes/parser/Preprocessor_Hash.php:1165]
#4  PPFrame_Hash->expand(<root><template><title>shortcut</title><part><name index="1"/><value>Т:ФО</value></part></template><template><title>Руководства</title></template>

(very long article with numerous <syntaxhighlight lang="tex">...</syntaxhighlight> is skipped)

[[Категория:Традиция:Справка|Формулы]], Традиция:Формулы, Object of class ParserOptions could not be converted to string, 1, 1, 530903) called at [/var/www/wiki/w/includes/content/WikitextContent.php:333]
#8  WikitextContent->fillParserOutput(Традиция:Формулы, 530903, Object of class ParserOptions could not be converted to string, 1, Object of class ParserOutput could not be converted to string) called at [/var/www/wiki/w/includes/content/AbstractContent.php:497]
#9  AbstractContent->getParserOutput(Традиция:Формулы, 530903, Object of class ParserOptions could not be converted to string) called at [/var/www/wiki/w/includes/poolcounter/PoolWorkArticleView.php:140]
#10 PoolWorkArticleView->doWork() called at [/var/www/wiki/w/includes/poolcounter/PoolCounterWork.php:123]
#11 PoolCounterWork->execute() called at [/var/www/wiki/w/includes/page/Article.php:674]
#12 Article->view() called at [/var/www/wiki/w/includes/actions/ViewAction.php:44]
#13 ViewAction->show() called at [/var/www/wiki/w/includes/MediaWiki.php:395]
#14 MediaWiki->performAction(Object of class Article could not be converted to string, Традиция:Формулы) called at [/var/www/wiki/w/includes/MediaWiki.php:273]
#15 MediaWiki->performRequest() called at [/var/www/wiki/w/includes/MediaWiki.php:566]
#16 MediaWiki->main() called at [/var/www/wiki/w/includes/MediaWiki.php:414]
#17 MediaWiki->run() called at [/var/www/wiki/w/index.php:41]

Related Objects

Event Timeline

alex-mashin raised the priority of this task from to Needs Triage.
alex-mashin updated the task description. (Show Details)
alex-mashin added a project: SyntaxHighlight.
alex-mashin added a subscriber: alex-mashin.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 10 2015, 9:56 PM

Please close. I forgot that the really stable SyntaxHighlight version is 2.0.

alex-mashin closed this task as Invalid.Dec 12 2015, 11:29 AM
alex-mashin set Security to None.
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptDec 12 2015, 11:29 AM