Exception encountered, of type "RuntimeException"
[b29202fe590d14e4a407abea] /wiki/Help:%E6%9F%A5%E8%AF%A2%E7%BB%93%E6%9E%9C%E7%9A%84%E5%AD%98%E5%82%A8 RuntimeException from line 186 of /var/www/html/02310/w/extensions/SemanticMediaWiki/src/MediaWiki/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT DISTINCT t8.smw_id AS id,t8.smw_title AS t,t8.smw_namespace AS ns,t8.smw_iw AS iw,t8.smw_subobject AS so,t8.smw_sortkey AS sortkey FROM `smw_object_ids` AS t8 INNER JOIN `smw_di_wikipage` AS t1 ON t8.smw_id=t1.s_id INNER JOIN `smw_di_blob` AS t4 ON t1.s_id=t4.s_id INNER JOIN `smw_di_blob` AS t6 ON t1.s_id=t6.s_id WHERE (t1.p_id='109' AND t1.o_id='4240' AND ((t4.o_hash='1.2.0') AND t4.p_id='83') AND ((t6.o_hash!='zh-hans') AND t6.p_id='133')) AND t8.smw_iw!=':smw' AND t8.smw_iw!=':smw-delete' AND t8.smw_iw!=':smw-redi' ORDER BY t6.o_hash ASC LIMIT 15
Function: SMW\SQLStore\QueryEngine\QueryEngine::getInstanceQueryResult
Error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'DB0231020151216.t6.o_hash' which is not in SELECT list; this is incompatible with DISTINCT (localhost)

#0 /var/www/html/02310/w/includes/db/Database.php(901): DatabaseBase->reportQueryError('Expression #1 o...', 3065, 'SELECT DISTINC...', 'SMW\\SQLStore\\Qu...', false)
#1 /var/www/html/02310/w/includes/db/Database.php(1234): DatabaseBase->query('SELECT DISTINC...', 'SMW\\SQLStore\\Qu...')
#2 /var/www/html/02310/w/extensions/SemanticMediaWiki/src/MediaWiki/Database.php(177): DatabaseBase->select('`smw_object_ids...', 'DISTINCT t8.smw...', '(t1.p_id='109' ...', 'SMW\\SQLStore\\Qu...', Array, Array)
#3 /var/www/html/02310/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QueryEngine.php(427): SMW\MediaWiki\Database->select('`smw_object_ids...', 'DISTINCT t8.smw...', '(t1.p_id='109' ...', 'SMW\\SQLStore\\Qu...', Array)
#4 /var/www/html/02310/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QueryEngine.php(233): SMW\SQLStore\QueryEngine\QueryEngine->getInstanceQueryResult(Object(SMWQuery), 8)
#5 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(402): SMW\SQLStore\QueryEngine\QueryEngine->getQueryResult(Object(SMWQuery))
#6 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(392): SMWSQLStore3->fetchQueryResult(Object(SMWQuery))
#7 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(455): SMWSQLStore3->getQueryResult(Object(SMWQuery))
#8 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(193): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#9 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(113): SMW\AskParserFunction->doFetchResultsForRawParameters(Array)
#10 /var/www/html/02310/w/extensions/SemanticMediaWiki/src/ParserFunctionFactory.php(277): SMW\AskParserFunction->parse(Array)
#11 /var/www/html/02310/w/includes/parser/Parser.php(3817): SMW\ParserFunctionFactory->SMW\{closure}(Object(Parser), '[[Docinfo maste...', '?Docinfo langua...', 'link=none', 'format=list', 'sep=, ', 'template=langua...', 'sort = Docinfo ...', 'order = asc', 'limit = 10', 'searchlabel = [...')
#12 /var/www/html/02310/w/includes/parser/Parser.php(3552): Parser->callParserFunction(Object(PPTemplateFrame_DOM), 'ask', Array)
#13 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#14 /var/www/html/02310/w/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_DOM->expand(Object(DOMElement))
#15 /var/www/html/02310/w/includes/parser/Parser.php(3817): ExtParserFunctions::ifeqObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#16 /var/www/html/02310/w/includes/parser/Parser.php(3552): Parser->callParserFunction(Object(PPTemplateFrame_DOM), 'ifeq', Array)
#17 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#18 /var/www/html/02310/w/includes/parser/Parser.php(3694): PPFrame_DOM->expand(Object(DOMElement))
#19 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#20 /var/www/html/02310/w/includes/parser/Parser.php(3366): PPFrame_DOM->expand(Object(DOMElement), 0)
#21 /var/www/html/02310/w/includes/parser/Parser.php(1248): Parser->replaceVariables('{{Parser hook (...')
#22 /var/www/html/02310/w/includes/parser/Parser.php(446): Parser->internalParse('{{Parser hook (...')
#23 /var/www/html/02310/w/includes/StubObject.php(105): Parser->parse('{{Parser hook (...', Object(Title), Object(ParserOptions), true, true, 16833)
#24 /var/www/html/02310/w/includes/StubObject.php(129): StubObject->_call('parse', Array)
#25 /var/www/html/02310/w/includes/content/WikitextContent.php(331): StubObject->__call('parse', Array)
#26 /var/www/html/02310/w/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Object(Title), 16833, Object(ParserOptions), true, Object(ParserOutput))
#27 /var/www/html/02310/w/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Object(Title), 16833, Object(ParserOptions))
#28 /var/www/html/02310/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#29 /var/www/html/02310/w/includes/page/Article.php(666): PoolCounterWork->execute()
#30 /var/www/html/02310/w/includes/actions/ViewAction.php(44): Article->view()
#31 /var/www/html/02310/w/includes/MediaWiki.php(503): ViewAction->show()
#32 /var/www/html/02310/w/includes/MediaWiki.php(288): MediaWiki->performAction(Object(Article), Object(Title))
#33 /var/www/html/02310/w/includes/MediaWiki.php(745): MediaWiki->performRequest()
#34 /var/www/html/02310/w/includes/MediaWiki.php(519): MediaWiki->main()
#35 /var/www/html/02310/w/index.php(43): MediaWiki->run()
#36 {main}
Backtrace:
#0 /var/www/html/02310/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QueryEngine.php(427): SMW\MediaWiki\Database->select(string, string, string, string, array)
#1 /var/www/html/02310/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QueryEngine.php(233): SMW\SQLStore\QueryEngine\QueryEngine->getInstanceQueryResult(SMWQuery, integer)
#2 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(402): SMW\SQLStore\QueryEngine\QueryEngine->getQueryResult(SMWQuery)
#3 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(392): SMWSQLStore3->fetchQueryResult(SMWQuery)
#4 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(455): SMWSQLStore3->getQueryResult(SMWQuery)
#5 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(193): SMWQueryProcessor::getResultFromQuery(SMWQuery, array, integer, integer)
#6 /var/www/html/02310/w/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(113): SMW\AskParserFunction->doFetchResultsForRawParameters(array)
#7 /var/www/html/02310/w/extensions/SemanticMediaWiki/src/ParserFunctionFactory.php(277): SMW\AskParserFunction->parse(array)
#8 /var/www/html/02310/w/includes/parser/Parser.php(3817): SMW\ParserFunctionFactory->SMW\{closure}(Parser, string, string, string, string, string, string, string, string, string, string)
#9 /var/www/html/02310/w/includes/parser/Parser.php(3552): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#10 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#11 /var/www/html/02310/w/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_DOM->expand(DOMElement)
#12 /var/www/html/02310/w/includes/parser/Parser.php(3817): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_DOM, array)
#13 /var/www/html/02310/w/includes/parser/Parser.php(3552): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#14 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#15 /var/www/html/02310/w/includes/parser/Parser.php(3694): PPFrame_DOM->expand(DOMElement)
#16 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(array, PPFrame_DOM)
#17 /var/www/html/02310/w/includes/parser/Parser.php(3366): PPFrame_DOM->expand(DOMElement, integer)
#18 /var/www/html/02310/w/includes/parser/Parser.php(1248): Parser->replaceVariables(string)
#19 /var/www/html/02310/w/includes/parser/Parser.php(446): Parser->internalParse(string)
#20 /var/www/html/02310/w/includes/StubObject.php(105): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#21 /var/www/html/02310/w/includes/StubObject.php(129): StubObject->_call(string, array)
#22 /var/www/html/02310/w/includes/content/WikitextContent.php(331): StubObject->__call(string, array)
#23 /var/www/html/02310/w/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#24 /var/www/html/02310/w/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#25 /var/www/html/02310/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#26 /var/www/html/02310/w/includes/page/Article.php(666): PoolCounterWork->execute()
#27 /var/www/html/02310/w/includes/actions/ViewAction.php(44): Article->view()
#28 /var/www/html/02310/w/includes/MediaWiki.php(503): ViewAction->show()
#29 /var/www/html/02310/w/includes/MediaWiki.php(288): MediaWiki->performAction(Article, Title)
#30 /var/www/html/02310/w/includes/MediaWiki.php(745): MediaWiki->performRequest()
#31 /var/www/html/02310/w/includes/MediaWiki.php(519): MediaWiki->main()
#32 /var/www/html/02310/w/index.php(43): MediaWiki->run()
#33 {main}