MediaWiki internal error.

Original exception: [ZatKjLx2BNIi-7MTFLzSgAAAAAE] /w/Lithuania Wikimedia\Rdbms\DBQueryDisconnectedError from line 1697 of /var/www/worldafropedia.com/html/wiki/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?

A connection error occurred during a query.
Query: SELECT img_name,img_size,img_width,img_height,img_metadata,img_bits,img_media_type,img_major_mime,img_minor_mime,img_timestamp,img_sha1,comment_img_description.comment_text AS `img_description_text`,comment_img_description.comment_data AS `img_description_data`,comment_img_description.comment_id AS `img_description_cid`,actor_img_user.actor_user AS `img_user`,actor_img_user.actor_name AS `img_user_text`,img_actor,img_metadata FROM `image` JOIN `comment` `comment_img_description` ON ((comment_img_description.comment_id = img_description_id)) JOIN `actor` `actor_img_user` ON ((actor_img_user.actor_id = img_actor)) WHERE img_name = 'Nidos_kopos.jpg' LIMIT 1
Function: LocalFile::loadFromDB
Error: 2006 MySQL server has gone away (localhost)

Backtrace:
#0 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/Database.php(1683): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)
#1 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/Database.php(1658): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#2 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/Database.php(1227): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#3 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/Database.php(1907): Wikimedia\Rdbms\Database->query(string, string, integer)
#4 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/Database.php(2007): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#5 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->selectRow(array, array, array, string, array, array)
#6 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/DBConnRef.php(331): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#7 /var/www/worldafropedia.com/html/wiki/includes/filerepo/file/LocalFile.php(463): Wikimedia\Rdbms\DBConnRef->selectRow(array, array, array, string, array, array)
#8 /var/www/worldafropedia.com/html/wiki/includes/filerepo/file/LocalFile.php(327): LocalFile->loadFromDB(integer)
#9 /var/www/worldafropedia.com/html/wiki/includes/libs/objectcache/wancache/WANObjectCache.php(1529): LocalFile->{closure}(boolean, integer, array, NULL, array)
#10 /var/www/worldafropedia.com/html/wiki/includes/libs/objectcache/wancache/WANObjectCache.php(1376): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)
#11 /var/www/worldafropedia.com/html/wiki/includes/filerepo/file/LocalFile.php(360): WANObjectCache->getWithSetCallback(string, integer, Closure, array)
#12 /var/www/worldafropedia.com/html/wiki/includes/filerepo/file/LocalFile.php(651): LocalFile->loadFromCache()
#13 /var/www/worldafropedia.com/html/wiki/includes/filerepo/FileRepo.php(464): LocalFile->load(integer)
#14 /var/www/worldafropedia.com/html/wiki/includes/filerepo/RepoGroup.php(156): FileRepo->findFile(Title, array)
#15 /var/www/worldafropedia.com/html/wiki/includes/BadFileLookup.php(71): RepoGroup->findFile(Title)
#16 /var/www/worldafropedia.com/html/wiki/includes/parser/Parser.php(2618): MediaWiki\BadFileLookup->isBadFile(string, Title)
#17 /var/www/worldafropedia.com/html/wiki/includes/parser/Parser.php(2381): Parser->handleInternalLinks2(string)
#18 /var/www/worldafropedia.com/html/wiki/includes/parser/Parser.php(1585): Parser->handleInternalLinks(string)
#19 /var/www/worldafropedia.com/html/wiki/includes/parser/Parser.php(651): Parser->internalParse(string)
#20 /var/www/worldafropedia.com/html/wiki/includes/content/WikitextContent.php(374): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#21 /var/www/worldafropedia.com/html/wiki/includes/content/AbstractContent.php(590): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#22 /var/www/worldafropedia.com/html/wiki/includes/Revision/RenderedRevision.php(263): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)
#23 /var/www/worldafropedia.com/html/wiki/includes/Revision/RenderedRevision.php(235): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
#24 /var/www/worldafropedia.com/html/wiki/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)
#25 /var/www/worldafropedia.com/html/wiki/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
#26 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#27 /var/www/worldafropedia.com/html/wiki/includes/Revision/RenderedRevision.php(197): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
#28 /var/www/worldafropedia.com/html/wiki/includes/poolcounter/PoolWorkArticleView.php(216): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#29 /var/www/worldafropedia.com/html/wiki/includes/poolcounter/PoolCounterWork.php(162): PoolWorkArticleView->doWork()
#30 /var/www/worldafropedia.com/html/wiki/includes/page/Article.php(810): PoolCounterWork->execute()
#31 /var/www/worldafropedia.com/html/wiki/includes/actions/ViewAction.php(74): Article->view()
#32 /var/www/worldafropedia.com/html/wiki/includes/MediaWiki.php(527): ViewAction->show()
#33 /var/www/worldafropedia.com/html/wiki/includes/MediaWiki.php(313): MediaWiki->performAction(Article, Title)
#34 /var/www/worldafropedia.com/html/wiki/includes/MediaWiki.php(940): MediaWiki->performRequest()
#35 /var/www/worldafropedia.com/html/wiki/includes/MediaWiki.php(543): MediaWiki->main()
#36 /var/www/worldafropedia.com/html/wiki/index.php(53): MediaWiki->run()
#37 /var/www/worldafropedia.com/html/wiki/index.php(46): wfIndexMain()
#38 {main}

Exception caught inside exception handler: [ZatKjLx2BNIi-7MTFLzSgAAAAAE] /w/Lithuania InvalidArgumentException from line 58 of /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/database/DBConnRef.php: Missing lazy connection arguments.
Backtrace:
#0 /var/www/worldafropedia.com/html/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1046): Wikimedia\Rdbms\DBConnRef->__construct(Wikimedia\Rdbms\LoadBalancer, boolean, integer)
#1 /var/www/worldafropedia.com/html/wiki/includes/GlobalFunctions.php(2469): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(integer, array, string)
#2 /var/www/worldafropedia.com/html/wiki/includes/cache/localisation/LCStoreDB.php(56): wfGetDB(integer)
#3 /var/www/worldafropedia.com/html/wiki/includes/cache/localisation/LocalisationCache.php(430): LCStoreDB->get(string, string)
#4 /var/www/worldafropedia.com/html/wiki/includes/cache/localisation/LocalisationCache.php(333): LocalisationCache->loadSubitem(string, string, string)
#5 /var/www/worldafropedia.com/html/wiki/languages/Language.php(2645): LocalisationCache->getSubitem(string, string, string)
#6 /var/www/worldafropedia.com/html/wiki/includes/cache/MessageCache.php(1030): Language->getMessage(string)
#7 /var/www/worldafropedia.com/html/wiki/includes/cache/MessageCache.php(988): MessageCache->getMessageForLang(LanguageEn, string, boolean, array)
#8 /var/www/worldafropedia.com/html/wiki/includes/cache/MessageCache.php(930): MessageCache->getMessageFromFallbackChain(LanguageEn, string, boolean)
#9 /var/www/worldafropedia.com/html/wiki/includes/language/Message.php(1304): MessageCache->get(string, boolean, LanguageEn)
#10 /var/www/worldafropedia.com/html/wiki/includes/language/Message.php(862): Message->fetchMessage()
#11 /var/www/worldafropedia.com/html/wiki/includes/language/Message.php(954): Message->toString(string)
#12 /var/www/worldafropedia.com/html/wiki/includes/exception/MWExceptionRenderer.php(149): Message->text()
#13 /var/www/worldafropedia.com/html/wiki/includes/exception/MWExceptionRenderer.php(65): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryDisconnectedError)
#14 /var/www/worldafropedia.com/html/wiki/includes/exception/MWExceptionHandler.php(106): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryDisconnectedError, integer)
#15 /var/www/worldafropedia.com/html/wiki/includes/exception/MWExceptionHandler.php(185): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryDisconnectedError)
#16 /var/www/worldafropedia.com/html/wiki/includes/MediaWiki.php(576): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryDisconnectedError, string)
#17 /var/www/worldafropedia.com/html/wiki/index.php(53): MediaWiki->run()
#18 /var/www/worldafropedia.com/html/wiki/index.php(46): wfIndexMain()
#19 {main}