Warning: Error while sending QUERY packet. PID=32459 in /var/www/mediawiki/root/includes/libs/rdbms/database/DatabaseMysqli.php on line 46
Warning: Error while sending QUERY packet. PID=32459 in /var/www/mediawiki/root/includes/libs/rdbms/database/DatabaseMysqli.php on line 46
MediaWiki internal error.
Original exception: [a4723e176e9c95f7f111ae25] /chinese/grammar/%E5%AF%B9 Wikimedia\Rdbms\DBQueryError from line 1587 of /var/www/mediawiki/root/includes/libs/rdbms/database/Database.php: A connection error occurred during a query.
Query: SELECT old_text,old_flags FROM `text` WHERE old_id = '22009' LIMIT 1
Function: MediaWiki\Storage\SqlBlobStore::fetchBlob
Error: 2006 MySQL server has gone away (localhost)
Backtrace:
#0 /var/www/mediawiki/root/includes/libs/rdbms/database/Database.php(1556): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#1 /var/www/mediawiki/root/includes/libs/rdbms/database/Database.php(1274): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 /var/www/mediawiki/root/includes/libs/rdbms/database/Database.php(1784): Wikimedia\Rdbms\Database->query(string, string)
#3 /var/www/mediawiki/root/includes/libs/rdbms/database/Database.php(1875): Wikimedia\Rdbms\Database->select(string, array, array, string, array, array)
#4 /var/www/mediawiki/root/includes/Storage/SqlBlobStore.php(330): Wikimedia\Rdbms\Database->selectRow(string, array, array, string, array)
#5 /var/www/mediawiki/root/includes/Storage/SqlBlobStore.php(278): MediaWiki\Storage\SqlBlobStore->fetchBlob(string, integer)
#6 /var/www/mediawiki/root/includes/libs/objectcache/WANObjectCache.php(1414): MediaWiki\Storage\SqlBlobStore->MediaWiki\Storage\{closure}(boolean, integer, array, NULL)
#7 /var/www/mediawiki/root/includes/libs/objectcache/WANObjectCache.php(1275): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#8 /var/www/mediawiki/root/includes/Storage/SqlBlobStore.php(280): WANObjectCache->getWithSetCallback(string, integer, Closure, array)
#9 /var/www/mediawiki/root/includes/Revision/RevisionStore.php(1461): MediaWiki\Storage\SqlBlobStore->getBlob(string, integer)
#10 /var/www/mediawiki/root/includes/Revision/RevisionStore.php(1636): MediaWiki\Revision\RevisionStore->loadSlotContent(MediaWiki\Revision\SlotRecord, NULL, NULL, NULL, integer)
#11 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}(MediaWiki\Revision\SlotRecord)
#12 /var/www/mediawiki/root/includes/Revision/SlotRecord.php(307): call_user_func(Closure, MediaWiki\Revision\SlotRecord)
#13 /var/www/mediawiki/root/includes/Revision/RevisionRecord.php(175): MediaWiki\Revision\SlotRecord->getContent()
#14 /var/www/mediawiki/root/includes/Revision.php(923): MediaWiki\Revision\RevisionRecord->getContent(string, integer, User)
#15 /var/www/mediawiki/root/includes/page/Article.php(492): Revision->getContent(integer, User)
#16 /var/www/mediawiki/root/includes/page/Article.php(713): Article->fetchRevisionRecord()
#17 /var/www/mediawiki/root/includes/actions/ViewAction.php(68): Article->view()
#18 /var/www/mediawiki/root/includes/MediaWiki.php(499): ViewAction->show()
#19 /var/www/mediawiki/root/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#20 /var/www/mediawiki/root/includes/MediaWiki.php(865): MediaWiki->performRequest()
#21 /var/www/mediawiki/root/includes/MediaWiki.php(515): MediaWiki->main()
#22 /var/www/mediawiki/root/index.php(42): MediaWiki->run()
#23 {main}
Exception caught inside exception handler: [a4723e176e9c95f7f111ae25] /chinese/grammar/%E5%AF%B9 Wikimedia\Rdbms\DBConnectionError from line 1213 of /var/www/mediawiki/root/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Cannot access the database: Unknown error (localhost)
Backtrace:
#0 /var/www/mediawiki/root/includes/libs/rdbms/loadbalancer/LoadBalancer.php(758): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#1 /var/www/mediawiki/root/extensions/WikiSEO/includes/WikiSEO.php(143): Wikimedia\Rdbms\LoadBalancer->getConnection(integer)
#2 /var/www/mediawiki/root/extensions/WikiSEO/includes/WikiSEO.php(128): MediaWiki\Extension\WikiSEO\WikiSEO->loadPagePropsFromDb(integer)
#3 /var/www/mediawiki/root/extensions/WikiSEO/includes/Hooks.php(36): MediaWiki\Extension\WikiSEO\WikiSEO->setMetadataFromPageProps(OutputPage)
#4 /var/www/mediawiki/root/includes/Hooks.php(174): MediaWiki\Extension\WikiSEO\Hooks::onBeforePageDisplay(OutputPage, SkinAllSet)
#5 /var/www/mediawiki/root/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)
#6 /var/www/mediawiki/root/includes/OutputPage.php(2720): Hooks::runWithoutAbort(string, array)
#7 /var/www/mediawiki/root/includes/exception/MWExceptionRenderer.php(134): OutputPage->output()
#8 /var/www/mediawiki/root/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryError)
#9 /var/www/mediawiki/root/includes/exception/MWExceptionHandler.php(98): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryError, integer)
#10 /var/www/mediawiki/root/includes/exception/MWExceptionHandler.php(172): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryError)
#11 /var/www/mediawiki/root/includes/MediaWiki.php(542): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryError)
#12 /var/www/mediawiki/root/index.php(42): MediaWiki->run()
#13 {main}