Database error

Jump to navigation Jump to search

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

[02774113504d542f52526e65] /heraldrywiki/index.php?title=Special:Statistics 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 1104: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay (heraldry-wiki.com.mysql)
Function: HitCounters\Hooks::getMostViewedPages
Query: SELECT p.page_namespace AS `namespace`,p.page_title AS `title`,h.page_counter AS `value`,p.page_len AS `length` FROM `hw_page` `p`,`hw_hit_counter` `h` ORDER BY page_counter DESC LIMIT 10

Backtrace:

from /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/libs/rdbms/database/Database.php(1606)
#0 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/libs/rdbms/database/Database.php(1590): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)
#1 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/libs/rdbms/database/Database.php(1564): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#2 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/libs/rdbms/database/Database.php(1173): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#3 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/libs/rdbms/database/Database.php(1810): Wikimedia\Rdbms\Database->query(string, string, integer)
#4 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/libs/rdbms/database/DBConnRef.php(69): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#5 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/libs/rdbms/database/DBConnRef.php(319): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#6 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/extensions/HitCounters/includes/HitCounters.hooks.php(59): Wikimedia\Rdbms\DBConnRef->select(array, array, array, string, array, array)
#7 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/extensions/HitCounters/includes/HitCounters.hooks.php(47): HitCounters\Hooks::getMostViewedPages(RequestContext)
#8 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/HookContainer/HookContainer.php(338): HitCounters\Hooks::onSpecialStatsAddExtra(array, RequestContext)
#9 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#10 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/HookContainer/HookRunner.php(3761): MediaWiki\HookContainer\HookContainer->run(string, array)
#11 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/specials/SpecialStatistics.php(67): MediaWiki\HookContainer\HookRunner->onSpecialStatsAddExtra(array, RequestContext)
#12 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/specialpage/SpecialPage.php(671): SpecialStatistics->execute(NULL)
#13 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/specialpage/SpecialPageFactory.php(1378): SpecialPage->run(NULL)
#14 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/MediaWiki.php(315): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#15 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/MediaWiki.php(912): MediaWiki->performRequest()
#16 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/includes/MediaWiki.php(563): MediaWiki->main()
#17 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/index.php(53): MediaWiki->run()
#18 /customers/1/7/b/heraldry-wiki.com/httpd.www/heraldrywiki/index.php(46): wfIndexMain()
#19 {main}