MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT * FROM `webmol_energypedia`.`interwiki` WHERE iw_prefix = '#cite_note-international_energy_agency.2c_.e2.80.98iea_-_pakistan'
Function: Interwiki::load
Error: 1927 Lost connection to backend server: connection closed by peer (server3: Generated event) (database_maxscale:4006)
' in /var/www/ISWiki/prod/current/lib/includes/db/Database.php:918
Stack trace:
#0 /var/www/ISWiki/prod/current/lib/includes/db/Database.php(885): DatabaseBase->reportQueryError('Lost connection...', 1927, 'SELECT * FROM...', 'Interwiki::load', false)
#1 /var/www/ISWiki/prod/current/lib/includes/db/Database.php(1358): DatabaseBase->query('SELECT * FROM...', 'Interwiki::load')
#2 /var/www/ISWiki/prod/current/lib/includes/interwiki/Interwiki.php(168): DatabaseBase->select('interwiki', '*', Array, 'Interwiki::load')
#3 /var/www/ISWiki/prod/current/lib/includes/interwiki/Interwiki.php(60): Interwiki::load('#cite_note-inte...')
#4 /var/www/ISWiki/prod/current/lib/includes/interwiki/Interwiki.php(37): Interwiki::fetch('#cite_note-Inte...')
#5 /var/www/ISWiki/prod/current/lib/includes/Title.php(2973): Interwiki::isValidInterwiki('#cite_note-Inte...')
#6 /var/www/ISWiki/prod/current/lib/includes/Title.php(149): Title->secureAndSplit()
#7 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(1841): Title::newFromText('#cite_note-Inte...')
#8 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(1680): Parser->replaceInternalLinks2('<sup id="cite_r...')
#9 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(1120): Parser->replaceInternalLinks('<sup id="cite_r...')
#10 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(497): Parser->internalParse('<sup id="cite_r...', false, false)
#11 /var/www/ISWiki/prod/current/lib/extensions/Cite/Cite_body.php(954): Parser->recursiveTagParse('<sup id="cite_r...')
#12 /var/www/ISWiki/prod/current/lib/extensions/Cite/Cite_body.php(914): Cite->parse('<sup id="cite_r...')
#13 /var/www/ISWiki/prod/current/lib/extensions/Cite/Cite_body.php(427): Cite->linkRef('', 'International_E...', '41-0', 42, '-41')
#14 /var/www/ISWiki/prod/current/lib/extensions/Cite/Cite_body.php(288): Cite->stack('International E...', 'International_E...', '', NULL, Array)
#15 /var/www/ISWiki/prod/current/lib/extensions/Cite/Cite_body.php(164): Cite->guardedRef('International E...', Array, Object(Parser))
#16 [internal function]: Cite->ref('International E...', Array, Object(Parser), Object(PPFrame_DOM))
#17 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(3744): call_user_func_array(Array, Array)
#18 /var/www/ISWiki/prod/current/lib/includes/parser/Preprocessor_DOM.php(1110): Parser->extensionSubstitution(Array, Object(PPFrame_DOM))
#19 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(2986): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#20 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(1099): Parser->replaceVariables('{{CES Country|C...')
#21 /var/www/ISWiki/prod/current/lib/includes/parser/Parser.php(345): Parser->internalParse('{{CES Country|C...')
#22 /var/www/ISWiki/prod/current/lib/includes/WikiPage.php(2914): Parser->parse('{{CES Country|C...', Object(Title), Object(ParserOptions), true, true, 227721)
#23 /var/www/ISWiki/prod/current/lib/includes/PoolCounter.php(187): PoolWorkArticleView->doWork()
#24 /var/www/ISWiki/prod/current/lib/includes/Article.php(587): PoolCounterWork->execute()
#25 /var/www/ISWiki/prod/current/lib/includes/actions/ViewAction.php(40): Article->view()
#26 /var/www/ISWiki/prod/current/lib/includes/Wiki.php(484): ViewAction->show()
#27 /var/www/ISWiki/prod/current/lib/includes/Wiki.php(278): MediaWiki->performAction(Object(Article))
#28 /var/www/ISWiki/prod/current/lib/includes/Wiki.php(593): MediaWiki->performRequest()
#29 /var/www/ISWiki/prod/current/lib/includes/Wiki.php(503): MediaWiki->main()
#30 /var/www/ISWiki/prod/current/lib/index.php(58): MediaWiki->run()
#31 {main}

Exception caught inside exception handler: exception 'DBQueryError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT value,exptime FROM `objectcache` WHERE keyname = 'webmol_energypedia:resourceloader:filter:minify-css:7:c88e2bcd56513749bec09a7e29cb3ffa' LIMIT 1
Function: SqlBagOStuff::get
Error: 1927 Lost connection to backend server: connection closed by peer (server3: Generated event) (database_maxscale:4006)
' in /var/www/ISWiki/prod/current/lib/includes/db/Database.php:918
Stack trace:
#0 /var/www/ISWiki/prod/current/lib/includes/db/Database.php(885): DatabaseBase->reportQueryError('Lost connection...', 1927, 'SELECT value,e...', 'SqlBagOStuff::g...', false)
#1 /var/www/ISWiki/prod/current/lib/includes/db/Database.php(1358): DatabaseBase->query('SELECT value,e...', 'SqlBagOStuff::g...')
#2 /var/www/ISWiki/prod/current/lib/includes/db/Database.php(1445): DatabaseBase->select('objectcache', Array, Array, 'SqlBagOStuff::g...', Array, Array)
#3 /var/www/ISWiki/prod/current/lib/includes/objectcache/SqlBagOStuff.php(124): DatabaseBase->selectRow('objectcache', Array, Array, 'SqlBagOStuff::g...')
#4 /var/www/ISWiki/prod/current/lib/includes/resourceloader/ResourceLoader.php(149): SqlBagOStuff->get('webmol_energype...')
#5 /var/www/ISWiki/prod/current/lib/includes/resourceloader/ResourceLoader.php(783): ResourceLoader->filter('minify-css', 'a:lang(ar), a:l...')
#6 /var/www/ISWiki/prod/current/lib/includes/OutputPage.php(2594): ResourceLoader->makeModuleResponse(Object(ResourceLoaderContext), Array)
#7 /var/www/ISWiki/prod/current/lib/includes/OutputPage.php(3310): OutputPage->makeResourceLoaderLink(Array, 'styles')
#8 /var/www/ISWiki/prod/current/lib/includes/OutputPage.php(2407): OutputPage->buildCssLinks()
#9 /var/www/ISWiki/prod/current/lib/includes/SkinTemplate.php(465): OutputPage->headElement(Object(SkinIswiki))
#10 /var/www/ISWiki/prod/current/lib/includes/OutputPage.php(1982): SkinTemplate->outputPage()
#11 /var/www/ISWiki/prod/current/lib/includes/Exception.php(182): OutputPage->output()
#12 /var/www/ISWiki/prod/current/lib/includes/Exception.php(209): MWException->reportHTML()
#13 /var/www/ISWiki/prod/current/lib/includes/Exception.php(490): MWException->report()
#14 /var/www/ISWiki/prod/current/lib/includes/Exception.php(569): MWExceptionHandler::report(Object(DBQueryError))
#15 /var/www/ISWiki/prod/current/lib/includes/Wiki.php(506): MWExceptionHandler::handle(Object(DBQueryError))
#16 /var/www/ISWiki/prod/current/lib/index.php(58): MediaWiki->run()
#17 {main}