Exception encountered, of type "RuntimeException"
[86e1ed40a7a0b05e82f33c0e] /wiki/Help:Category_format 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 t5.smw_id AS id,t5.smw_title AS t,t5.smw_namespace AS ns,t5.smw_iw AS iw,t5.smw_subobject AS so,t5.smw_sortkey AS sortkey FROM `smw_object_ids` AS t5 INNER JOIN `smw_di_blob` AS t1 ON t5.smw_id=t1.s_id INNER JOIN `smw_di_blob` AS t3 ON t1.s_id=t3.s_id INNER JOIN `smw_di_blob` AS t7 ON t5.smw_id=t7.s_id WHERE ((t1.o_hash='category') AND t1.p_id='155' AND ((t3.o_hash='effective') AND t3.p_id='114')) AND (t7.p_id='133') AND t5.smw_iw!=':smw' AND t5.smw_iw!=':smw-delete' AND t5.smw_iw!=':smw-redi' ORDER BY t7.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.t7.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 t5.smw...', '((t1.o_hash='ca...', '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 t5.smw...', '((t1.o_hash='ca...', '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), 5)
#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), '[[Has format na...', '?Docinfo langua...', 'link=none', 'limit=10', 'format=list', 'sep=, ', 'template=langua...', 'sort = Docinfo ...', 'order = asc', 'headers=show', 'searchlabel=\xE2\x80\xA6...')
#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(90): PPFrame_DOM->expand(Object(DOMElement))
#15 /var/www/html/02310/w/includes/parser/Parser.php(3817): ExtParserFunctions::ifexprObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#16 /var/www/html/02310/w/includes/parser/Parser.php(3552): Parser->callParserFunction(Object(PPTemplateFrame_DOM), 'ifexpr', 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(PPTemplateFrame_DOM))
#20 /var/www/html/02310/w/includes/parser/Parser.php(3470): PPFrame_DOM->expand(Object(DOMElement))
#21 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#22 /var/www/html/02310/w/includes/parser/Parser.php(3694): PPFrame_DOM->expand(Object(DOMElement))
#23 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#24 /var/www/html/02310/w/includes/parser/Parser.php(3366): PPFrame_DOM->expand(Object(DOMElement), 0)
#25 /var/www/html/02310/w/includes/parser/Parser.php(1248): Parser->replaceVariables('{{Result format...')
#26 /var/www/html/02310/w/includes/parser/Parser.php(446): Parser->internalParse('{{Result format...')
#27 /var/www/html/02310/w/includes/StubObject.php(105): Parser->parse('{{Result format...', Object(Title), Object(ParserOptions), true, true, 47755)
#28 /var/www/html/02310/w/includes/StubObject.php(129): StubObject->_call('parse', Array)
#29 /var/www/html/02310/w/includes/content/WikitextContent.php(331): StubObject->__call('parse', Array)
#30 /var/www/html/02310/w/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Object(Title), 47755, Object(ParserOptions), true, Object(ParserOutput))
#31 /var/www/html/02310/w/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Object(Title), 47755, Object(ParserOptions))
#32 /var/www/html/02310/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#33 /var/www/html/02310/w/includes/page/Article.php(666): PoolCounterWork->execute()
#34 /var/www/html/02310/w/includes/actions/ViewAction.php(44): Article->view()
#35 /var/www/html/02310/w/includes/MediaWiki.php(503): ViewAction->show()
#36 /var/www/html/02310/w/includes/MediaWiki.php(288): MediaWiki->performAction(Object(Article), Object(Title))
#37 /var/www/html/02310/w/includes/MediaWiki.php(745): MediaWiki->performRequest()
#38 /var/www/html/02310/w/includes/MediaWiki.php(519): MediaWiki->main()
#39 /var/www/html/02310/w/index.php(43): MediaWiki->run()
#40 {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, 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(90): PPFrame_DOM->expand(DOMElement)
#12 /var/www/html/02310/w/includes/parser/Parser.php(3817): ExtParserFunctions::ifexprObj(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, PPTemplateFrame_DOM)
#17 /var/www/html/02310/w/includes/parser/Parser.php(3470): PPFrame_DOM->expand(DOMElement)
#18 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#19 /var/www/html/02310/w/includes/parser/Parser.php(3694): PPFrame_DOM->expand(DOMElement)
#20 /var/www/html/02310/w/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(array, PPFrame_DOM)
#21 /var/www/html/02310/w/includes/parser/Parser.php(3366): PPFrame_DOM->expand(DOMElement, integer)
#22 /var/www/html/02310/w/includes/parser/Parser.php(1248): Parser->replaceVariables(string)
#23 /var/www/html/02310/w/includes/parser/Parser.php(446): Parser->internalParse(string)
#24 /var/www/html/02310/w/includes/StubObject.php(105): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#25 /var/www/html/02310/w/includes/StubObject.php(129): StubObject->_call(string, array)
#26 /var/www/html/02310/w/includes/content/WikitextContent.php(331): StubObject->__call(string, array)
#27 /var/www/html/02310/w/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#28 /var/www/html/02310/w/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#29 /var/www/html/02310/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#30 /var/www/html/02310/w/includes/page/Article.php(666): PoolCounterWork->execute()
#31 /var/www/html/02310/w/includes/actions/ViewAction.php(44): Article->view()
#32 /var/www/html/02310/w/includes/MediaWiki.php(503): ViewAction->show()
#33 /var/www/html/02310/w/includes/MediaWiki.php(288): MediaWiki->performAction(Article, Title)
#34 /var/www/html/02310/w/includes/MediaWiki.php(745): MediaWiki->performRequest()
#35 /var/www/html/02310/w/includes/MediaWiki.php(519): MediaWiki->main()
#36 /var/www/html/02310/w/index.php(43): MediaWiki->run()
#37 {main}