Exception encountered, of type "RuntimeException"
[f4014a07] /wiki/2010 RuntimeException from line 244 of /var/www/core/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: INSERT IGNORE INTO `t2` (id) VALUES ('8548')
Function: SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::buildTempTableFor
Error: 5 Out of memory (Needed 2095116 bytes) (localhost)

#0 /var/www/core/includes/db/Database.php(1076): DatabaseBase->reportQueryError('Out of memory (...', 5, 'INSERT IGNORE I...', 'SMW\\SQLStore\\Qu...', false)
#1 /var/www/core/extensions/SemanticMediaWiki/src/MediaWiki/Database.php(242): DatabaseBase->query('INSERT IGNORE I...', 'SMW\\SQLStore\\Qu...', false)
#2 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/HierarchyTempTableBuilder.php(160): SMW\MediaWiki\Database->query('INSERT IGNORE I...', 'SMW\\SQLStore\\Qu...')
#3 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/HierarchyTempTableBuilder.php(128): SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder->buildTempTableFor('`t2`', '('8548')', '`smw_fpt_subc`', 10)
#4 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(314): SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder->createHierarchyTempTableFor('class', '`t2`', '('8548')')
#5 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(247): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->resolveHierarchyForSegment(Object(SMW\SQLStore\QueryEngine\QuerySegment))
#6 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(131): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(Object(SMW\SQLStore\QueryEngine\QuerySegment))
#7 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(178): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(Object(SMW\SQLStore\QueryEngine\QuerySegment))
#8 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(131): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(Object(SMW\SQLStore\QueryEngine\QuerySegment))
#9 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(120): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(Object(SMW\SQLStore\QueryEngine\QuerySegment))
#10 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QueryEngine.php(216): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doExecuteSubqueryJoinDependenciesFor(5)
#11 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(380): SMW\SQLStore\QueryEngine\QueryEngine->getQueryResult(Object(SMWQuery))
#12 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(371): SMWSQLStore3->fetchQueryResult(Object(SMWQuery))
#13 /var/www/core/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(510): SMWSQLStore3->getQueryResult(Object(SMWQuery))
#14 /var/www/core/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(163): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#15 /var/www/core/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(120): SMW\AskParserFunction->doFetchResultsForRawParameters(Array)
#16 /var/www/core/extensions/SemanticMediaWiki/src/ParserFunctionFactory.php(248): SMW\AskParserFunction->parse(Array)
#17 [internal function]: SMW\ParserFunctionFactory->SMW\{closure}(Object(Parser), '[[Category:Onli...', 'format=template', 'limit=100', 'link=none', 'template=Introd...', 'offset=0')
#18 /var/www/core/includes/parser/Parser.php(3789): call_user_func_array(Object(Closure), Array)
#19 /var/www/core/includes/parser/Parser.php(3523): Parser->callParserFunction(Object(PPTemplateFrame_DOM), '#ask', Array)
#20 /var/www/core/includes/parser/Preprocessor_DOM.php(1177): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#21 /var/www/core/includes/parser/Preprocessor_DOM.php(1624): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#22 /var/www/core/includes/parser/Parser.php(3662): PPTemplateFrame_DOM->cachedExpand('Template:Games ...', Object(PPNode_DOM))
#23 /var/www/core/includes/parser/Preprocessor_DOM.php(1177): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#24 /var/www/core/includes/parser/Parser.php(3342): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#25 /var/www/core/includes/parser/Parser.php(1239): Parser->replaceVariables('<rating />\n{{Ot...')
#26 /var/www/core/includes/parser/Parser.php(439): Parser->internalParse('<rating />\n{{Ot...')
#27 /var/www/core/includes/content/WikitextContent.php(331): Parser->parse('<rating />\n{{Ot...', Object(Title), Object(ParserOptions), true, true, 827412)
#28 /var/www/core/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Object(Title), 827412, Object(ParserOptions), true, Object(ParserOutput))
#29 /var/www/core/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Object(Title), 827412, Object(ParserOptions))
#30 /var/www/core/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#31 /var/www/core/includes/page/Article.php(676): PoolCounterWork->execute()
#32 /var/www/core/includes/actions/ViewAction.php(44): Article->view()
#33 /var/www/core/includes/MediaWiki.php(490): ViewAction->show()
#34 /var/www/core/includes/MediaWiki.php(287): MediaWiki->performAction(Object(Article), Object(Title))
#35 /var/www/core/includes/MediaWiki.php(714): MediaWiki->performRequest()
#36 /var/www/core/includes/MediaWiki.php(508): MediaWiki->main()
#37 /var/www/core/index.php(41): MediaWiki->run()
#38 {main}
Backtrace:
#0 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/HierarchyTempTableBuilder.php(160): SMW\MediaWiki\Database->query(string, string)
#1 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/HierarchyTempTableBuilder.php(128): SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder->buildTempTableFor(string, string, string, integer)
#2 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(314): SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder->createHierarchyTempTableFor(string, string, string)
#3 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(247): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->resolveHierarchyForSegment(SMW\SQLStore\QueryEngine\QuerySegment)
#4 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(131): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(SMW\SQLStore\QueryEngine\QuerySegment)
#5 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(178): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(SMW\SQLStore\QueryEngine\QuerySegment)
#6 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(131): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(SMW\SQLStore\QueryEngine\QuerySegment)
#7 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(120): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doResolveBySegment(SMW\SQLStore\QueryEngine\QuerySegment)
#8 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QueryEngine.php(216): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->doExecuteSubqueryJoinDependenciesFor(integer)
#9 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(380): SMW\SQLStore\QueryEngine\QueryEngine->getQueryResult(SMWQuery)
#10 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(371): SMWSQLStore3->fetchQueryResult(SMWQuery)
#11 /var/www/core/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(510): SMWSQLStore3->getQueryResult(SMWQuery)
#12 /var/www/core/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(163): SMWQueryProcessor::getResultFromQuery(SMWQuery, array, integer, integer)
#13 /var/www/core/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(120): SMW\AskParserFunction->doFetchResultsForRawParameters(array)
#14 /var/www/core/extensions/SemanticMediaWiki/src/ParserFunctionFactory.php(248): SMW\AskParserFunction->parse(array)
#15 [internal function]: SMW\ParserFunctionFactory->SMW\{closure}(Parser, string, string, string, string, string, string)
#16 /var/www/core/includes/parser/Parser.php(3789): call_user_func_array(Closure, array)
#17 /var/www/core/includes/parser/Parser.php(3523): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#18 /var/www/core/includes/parser/Preprocessor_DOM.php(1177): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#19 /var/www/core/includes/parser/Preprocessor_DOM.php(1624): PPFrame_DOM->expand(PPNode_DOM, integer)
#20 /var/www/core/includes/parser/Parser.php(3662): PPTemplateFrame_DOM->cachedExpand(string, PPNode_DOM)
#21 /var/www/core/includes/parser/Preprocessor_DOM.php(1177): Parser->braceSubstitution(array, PPFrame_DOM)
#22 /var/www/core/includes/parser/Parser.php(3342): PPFrame_DOM->expand(PPNode_DOM, integer)
#23 /var/www/core/includes/parser/Parser.php(1239): Parser->replaceVariables(string)
#24 /var/www/core/includes/parser/Parser.php(439): Parser->internalParse(string)
#25 /var/www/core/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#26 /var/www/core/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#27 /var/www/core/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#28 /var/www/core/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#29 /var/www/core/includes/page/Article.php(676): PoolCounterWork->execute()
#30 /var/www/core/includes/actions/ViewAction.php(44): Article->view()
#31 /var/www/core/includes/MediaWiki.php(490): ViewAction->show()
#32 /var/www/core/includes/MediaWiki.php(287): MediaWiki->performAction(Article, Title)
#33 /var/www/core/includes/MediaWiki.php(714): MediaWiki->performRequest()
#34 /var/www/core/includes/MediaWiki.php(508): MediaWiki->main()
#35 /var/www/core/index.php(41): MediaWiki->run()
#36 {main}