Site maintenance. Details here

Database error

Jump to: navigation, search
A database query error has occurred. This may indicate a bug in the software.

[XQYSM-HPik6v9QUvq7YoLAAAABA] /wiki/Karl_Rove Wikimedia\Rdbms\DBQueryError from line 1075 of /var/www/html/w/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: INSERT IGNORE INTO `mw_t1` SELECT DISTINCT t2.s_id FROM `mw_smw_di_blob` AS t2 WHERE (t2.o_hash LIKE '%Ambassador to Karl Rove') AND t2.p_id='2398164'
Function: SMW\SQLStore\QueryEngine\QuerySegmentListProcessor::resolve
Error: 1213 Deadlock found when trying to get lock; try restarting transaction (localhost)

Backtrace:

#0 /var/www/html/w/includes/libs/rdbms/database/Database.php(933): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#1 /var/www/html/w/extensions/SemanticMediaWiki/src/MediaWiki/Connection/Database.php(442): Wikimedia\Rdbms\Database->query(string, string, boolean)
#2 /var/www/html/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(242): SMW\MediaWiki\Connection\Database->query(string, string)
#3 /var/www/html/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(121): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->resolve(SMW\SQLStore\QueryEngine\QuerySegment)
#4 /var/www/html/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QuerySegmentListProcessor.php(112): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->resolve(SMW\SQLStore\QueryEngine\QuerySegment)
#5 /var/www/html/w/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/QueryEngine.php(193): SMW\SQLStore\QueryEngine\QuerySegmentListProcessor->process(integer)
#6 /var/www/html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(311): SMW\SQLStore\QueryEngine\QueryEngine->getQueryResult(SMWQuery)
#7 /var/www/html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(299): SMWSQLStore3->fetchQueryResult(SMWQuery)
#8 /var/www/html/w/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(378): SMWSQLStore3->getQueryResult(SMWQuery)
#9 /var/www/html/w/extensions/SemanticMediaWiki/src/ParserFunctions/AskParserFunction.php(344): SMWQueryProcessor::getResultFromQuery(SMWQuery, array, integer, integer)
#10 /var/www/html/w/extensions/SemanticMediaWiki/src/ParserFunctions/AskParserFunction.php(183): SMW\ParserFunctions\AskParserFunction->doFetchResultsFromFunctionParameters(array, array)
#11 /var/www/html/w/extensions/SemanticMediaWiki/src/ParserFunctionFactory.php(388): SMW\ParserFunctions\AskParserFunction->parse(array)
#12 /var/www/html/w/includes/parser/Parser.php(3408): SMW\ParserFunctionFactory->SMW\{closure}(Parser, string, string)
#13 /var/www/html/w/includes/parser/Parser.php(3128): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#14 /var/www/html/w/includes/parser/Preprocessor_DOM.php(1199): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#15 /var/www/html/w/includes/parser/Parser.php(3046): PPFrame_DOM->expand(DOMElement)
#16 /var/www/html/w/includes/parser/Preprocessor_DOM.php(1199): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#17 /var/www/html/w/includes/parser/Parser.php(3282): PPFrame_DOM->expand(DOMElement)
#18 /var/www/html/w/includes/parser/Preprocessor_DOM.php(1199): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#19 /var/www/html/w/includes/parser/Preprocessor_DOM.php(1650): PPFrame_DOM->expand(DOMElement, integer)
#20 /var/www/html/w/includes/parser/Parser.php(3279): PPTemplateFrame_DOM->cachedExpand(string, PPNode_DOM)
#21 /var/www/html/w/includes/parser/Preprocessor_DOM.php(1199): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#22 /var/www/html/w/includes/parser/Preprocessor_DOM.php(1650): PPFrame_DOM->expand(DOMElement, integer)
#23 /var/www/html/w/includes/parser/Parser.php(3279): PPTemplateFrame_DOM->cachedExpand(string, PPNode_DOM)
#24 /var/www/html/w/includes/parser/Preprocessor_DOM.php(1199): Parser->braceSubstitution(array, PPFrame_DOM)
#25 /var/www/html/w/includes/parser/Parser.php(2942): PPFrame_DOM->expand(DOMElement, integer)
#26 /var/www/html/w/includes/parser/Parser.php(1297): Parser->replaceVariables(string)
#27 /var/www/html/w/includes/parser/Parser.php(451): Parser->internalParse(string)
#28 /var/www/html/w/includes/content/WikitextContent.php(330): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#29 /var/www/html/w/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#30 /var/www/html/w/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#31 /var/www/html/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#32 /var/www/html/w/includes/page/Article.php(586): PoolCounterWork->execute()
#33 /var/www/html/w/includes/actions/ViewAction.php(68): Article->view()
#34 /var/www/html/w/includes/MediaWiki.php(499): ViewAction->show()
#35 /var/www/html/w/includes/MediaWiki.php(293): MediaWiki->performAction(Article, Title)
#36 /var/www/html/w/includes/MediaWiki.php(863): MediaWiki->performRequest()
#37 /var/www/html/w/includes/MediaWiki.php(523): MediaWiki->main()
#38 /var/www/html/w/index.php(43): MediaWiki->run()
#39 {main}