Unexpected non-MediaWiki exception encountered, of type "RuntimeException"
[10498651] /wiki/index.php?direction=prev&oldid=5996&title=Database_Table%3A_acctcode Exception from line 214 of /var/www/wiki/extensions/SemanticMediaWiki/includes/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: CREATE TEMPORARY TABLE `t2`( id INT UNSIGNED KEY ) ENGINE=MEMORY
Function: SMW::executeHierarchyQuery
Error: 1044 Access denied for user 'wikiuser'@'localhost' to database 'wiki' (localhost)
#0 /var/www/wiki/includes/db/Database.php(1123): DatabaseBase->reportQueryError('Access denied f...', 1044, 'CREATE TEMPORAR...', 'SMW::executeHie...', false)
#1 /var/www/wiki/extensions/SemanticMediaWiki/includes/src/MediaWiki/Database.php(212): DatabaseBase->query('CREATE TEMPORAR...', 'SMW::executeHie...', false)
#2 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1091): SMW\MediaWiki\Database->query('CREATE TEMPORAR...', 'SMW::executeHie...')
#3 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1030): SMWSQLStore3QueryEngine->executeHierarchyQuery(Object(SMWSQLStore3Query))
#4 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#5 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(963): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#6 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#7 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(342): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#8 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(341): SMWSQLStore3QueryEngine->getQueryResult(Object(SMWQuery))
#9 /var/www/wiki/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(498): SMWSQLStore3->getQueryResult(Object(SMWQuery))
#10 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(130): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#11 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(84): SMW\AskParserFunction->runQueryProcessor(Array)
#12 /var/www/wiki/extensions/SemanticMediaWiki/includes/Setup.php(504): SMW\AskParserFunction->parse(Array)
#13 [internal function]: SMW\{closure}(Object(Parser), '[[Category: Dat...', '? Name', 'format=template', 'template=Semant...', 'link=none', 'default={{{1}}}')
#14 /var/www/wiki/includes/parser/Parser.php(3620): call_user_func_array(Object(Closure), Array)
#15 /var/www/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(Object(PPFrame_DOM), '#ask', Array)
#16 /var/www/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#17 /var/www/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#18 /var/www/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables('{{#set:name=acc...')
#19 /var/www/wiki/includes/parser/Parser.php(395): Parser->internalParse('{{#set:name=acc...')
#20 /var/www/wiki/includes/content/WikitextContent.php(322): Parser->parse('{{#set:name=acc...', Object(Title), Object(ParserOptions), true, true, 5995)
#21 /var/www/wiki/includes/WikiPage.php(3614): WikitextContent->getParserOutput(Object(Title), 5995, Object(ParserOptions))
#22 /var/www/wiki/includes/poolcounter/PoolCounterWork.php(112): PoolWorkArticleView->doWork()
#23 /var/www/wiki/includes/Article.php(710): PoolCounterWork->execute()
#24 /var/www/wiki/includes/actions/ViewAction.php(44): Article->view()
#25 /var/www/wiki/includes/Wiki.php(428): ViewAction->show()
#26 /var/www/wiki/includes/Wiki.php(292): MediaWiki->performAction(Object(Article), Object(Title))
#27 /var/www/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#28 /var/www/wiki/includes/Wiki.php(447): MediaWiki->main()
#29 /var/www/wiki/index.php(46): MediaWiki->run()
#30 {main}
Backtrace:
#0 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1091): SMW\MediaWiki\Database->query(string, string)
#1 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1030): SMWSQLStore3QueryEngine->executeHierarchyQuery(SMWSQLStore3Query)
#2 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#3 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(963): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#4 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#5 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(342): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#6 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(341): SMWSQLStore3QueryEngine->getQueryResult(SMWQuery)
#7 /var/www/wiki/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(498): SMWSQLStore3->getQueryResult(SMWQuery)
#8 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(130): SMWQueryProcessor::getResultFromQuery(SMWQuery, array, integer, integer)
#9 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(84): SMW\AskParserFunction->runQueryProcessor(array)
#10 /var/www/wiki/extensions/SemanticMediaWiki/includes/Setup.php(504): SMW\AskParserFunction->parse(array)
#11 [internal function]: SMW\{closure}(Parser, string, string, string, string, string, string)
#12 /var/www/wiki/includes/parser/Parser.php(3620): call_user_func_array(Closure, array)
#13 /var/www/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(PPFrame_DOM, string, array)
#14 /var/www/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(array, PPFrame_DOM)
#15 /var/www/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(PPNode_DOM, integer)
#16 /var/www/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables(string)
#17 /var/www/wiki/includes/parser/Parser.php(395): Parser->internalParse(string)
#18 /var/www/wiki/includes/content/WikitextContent.php(322): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#19 /var/www/wiki/includes/WikiPage.php(3614): WikitextContent->getParserOutput(Title, integer, ParserOptions)
#20 /var/www/wiki/includes/poolcounter/PoolCounterWork.php(112): PoolWorkArticleView->doWork()
#21 /var/www/wiki/includes/Article.php(710): PoolCounterWork->execute()
#22 /var/www/wiki/includes/actions/ViewAction.php(44): Article->view()
#23 /var/www/wiki/includes/Wiki.php(428): ViewAction->show()
#24 /var/www/wiki/includes/Wiki.php(292): MediaWiki->performAction(Article, Title)
#25 /var/www/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#26 /var/www/wiki/includes/Wiki.php(447): MediaWiki->main()
#27 /var/www/wiki/index.php(46): MediaWiki->run()
#28 {main}