Database error

Jump to navigation Jump to search

A database query error has occurred. This may indicate a bug in the software.

[b6c9fd2fcfd42e603b64659b] /cybersecurity/?title=Special:RecentChangesLinked&days=14&from=&target=Keyword_Index_and_Glossary_of_Core_Ideas Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?

Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information.

Error 1146: Table 'mw_cybersecurity.linktarget' doesn't exist
Function: SpecialRecentChangesLinked::doMainQuery
Query: SELECT * FROM ((SELECT rc_id,rc_timestamp,rc_namespace,rc_title,rc_minor,rc_bot,rc_new,rc_cur_id,rc_this_oldid,rc_last_oldid,rc_type,rc_source,rc_patrolled,rc_ip,rc_old_len,rc_new_len,rc_deleted,rc_logid,rc_log_type,rc_log_action,rc_params,rc_actor,recentchanges_actor.actor_user AS `rc_user`,recentchanges_actor.actor_name AS `rc_user_text`,comment_rc_comment.comment_text AS `rc_comment_text`,comment_rc_comment.comment_data AS `rc_comment_data`,comment_rc_comment.comment_id AS `rc_comment_cid`,page_latest,(SELECT GROUP_CONCAT(ctd_name SEPARATOR ',') FROM `change_tag` JOIN `change_tag_def` ON ((ct_tag_id=ctd_id)) WHERE ct_rc_id=rc_id ) AS `ts_tags` FROM `recentchanges` STRAIGHT_JOIN `actor` `recentchanges_actor` ON ((actor_id=rc_actor)) STRAIGHT_JOIN `comment` `comment_rc_comment` ON ((comment_rc_comment.comment_id = rc_comment_id)) LEFT JOIN `page` ON ((rc_cur_id=page_id)) JOIN `pagelinks` ON ((rc_namespace = pl_namespace) AND (rc_title = pl_title)) WHERE rc_bot = 0 AND (rc_timestamp >= '20240305112951') AND pl_from = 120 ORDER BY rc_timestamp DESC LIMIT 50 ) UNION (SELECT rc_id,rc_timestamp,rc_namespace,rc_title,rc_minor,rc_bot,rc_new,rc_cur_id,rc_this_oldid,rc_last_oldid,rc_type,rc_source,rc_patrolled,rc_ip,rc_old_len,rc_new_len,rc_deleted,rc_logid,rc_log_type,rc_log_action,rc_params,rc_actor,recentchanges_actor.actor_user AS `rc_user`,recentchanges_actor.actor_name AS `rc_user_text`,comment_rc_comment.comment_text AS `rc_comment_text`,comment_rc_comment.comment_data AS `rc_comment_data`,comment_rc_comment.comment_id AS `rc_comment_cid`,page_latest,(SELECT GROUP_CONCAT(ctd_name SEPARATOR ',') FROM `change_tag` JOIN `change_tag_def` ON ((ct_tag_id=ctd_id)) WHERE ct_rc_id=rc_id ) AS `ts_tags` FROM `recentchanges` STRAIGHT_JOIN `actor` `recentchanges_actor` ON ((actor_id=rc_actor)) STRAIGHT_JOIN `comment` `comment_rc_comment` ON ((comment_rc_comment.comment_id = rc_comment_id)) LEFT JOIN `page` ON ((rc_cur_id=page_id)) JOIN `linktarget` ON ((rc_namespace = lt_namespace) AND (rc_title = lt_title)) JOIN `templatelinks` ON ((tl_target_id=lt_id)) WHERE rc_bot = 0 AND (rc_timestamp >= '20240305112951') AND tl_from = 120 ORDER BY rc_timestamp DESC LIMIT 50 ) UNION (SELECT rc_id,rc_timestamp,rc_namespace,rc_title,rc_minor,rc_bot,rc_new,rc_cur_id,rc_this_oldid,rc_last_oldid,rc_type,rc_source,rc_patrolled,rc_ip,rc_old_len,rc_new_len,rc_deleted,rc_logid,rc_log_type,rc_log_action,rc_params,rc_actor,recentchanges_actor.actor_user AS `rc_user`,recentchanges_actor.actor_name AS `rc_user_text`,comment_rc_comment.comment_text AS `rc_comment_text`,comment_rc_comment.comment_data AS `rc_comment_data`,comment_rc_comment.comment_id AS `rc_comment_cid`,page_latest,(SELECT GROUP_CONCAT(ctd_name SEPARATOR ',') FROM `change_tag` JOIN `change_tag_def` ON ((ct_tag_id=ctd_id)) WHERE ct_rc_id=rc_id ) AS `ts_tags` FROM `recentchanges` STRAIGHT_JOIN `actor` `recentchanges_actor` ON ((actor_id=rc_actor)) STRAIGHT_JOIN `comment` `comment_rc_comment` ON ((comment_rc_comment.comment_id = rc_comment_id)) LEFT JOIN `page` ON ((rc_cur_id=page_id)) JOIN `imagelinks` ON ((rc_title = il_to)) WHERE rc_bot = 0 AND (rc_timestamp >= '20240305112951') AND il_from = 120 AND rc_namespace = 6 ORDER BY rc_timestamp DESC LIMIT 50 )) `main` ORDER BY rc_timestamp DESC LIMIT 50

Backtrace:

from /web/robin/phpprod/docs/mediawiki/includes/libs/rdbms/database/Database.php(1618)
#0 /web/robin/phpprod/docs/mediawiki/includes/libs/rdbms/database/Database.php(1602): Wikimedia\Rdbms\Database->getQueryException()
#1 /web/robin/phpprod/docs/mediawiki/includes/libs/rdbms/database/Database.php(1576): Wikimedia\Rdbms\Database->getQueryExceptionAndLog()
#2 /web/robin/phpprod/docs/mediawiki/includes/libs/rdbms/database/Database.php(952): Wikimedia\Rdbms\Database->reportQueryError()
#3 /web/robin/phpprod/docs/mediawiki/includes/libs/rdbms/database/DBConnRef.php(103): Wikimedia\Rdbms\Database->query()
#4 /web/robin/phpprod/docs/mediawiki/includes/libs/rdbms/database/DBConnRef.php(293): Wikimedia\Rdbms\DBConnRef->__call()
#5 /web/robin/phpprod/docs/mediawiki/includes/specials/SpecialRecentChangesLinked.php(294): Wikimedia\Rdbms\DBConnRef->query()
#6 /web/robin/phpprod/docs/mediawiki/includes/specialpage/ChangesListSpecialPage.php(917): SpecialRecentChangesLinked->doMainQuery()
#7 /web/robin/phpprod/docs/mediawiki/includes/specialpage/ChangesListSpecialPage.php(614): ChangesListSpecialPage->getRows()
#8 /web/robin/phpprod/docs/mediawiki/includes/specials/SpecialRecentChanges.php(206): ChangesListSpecialPage->execute()
#9 /web/robin/phpprod/docs/mediawiki/includes/specialpage/SpecialPage.php(701): SpecialRecentChanges->execute()
#10 /web/robin/phpprod/docs/mediawiki/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run()
#11 /web/robin/phpprod/docs/mediawiki/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
#12 /web/robin/phpprod/docs/mediawiki/includes/MediaWiki.php(904): MediaWiki->performRequest()
#13 /web/robin/phpprod/docs/mediawiki/includes/MediaWiki.php(562): MediaWiki->main()
#14 /web/robin/phpprod/docs/mediawiki/index.php(50): MediaWiki->run()
#15 /web/robin/phpprod/docs/mediawiki/index.php(46): wfIndexMain()
#16 {main}