MediaWiki internal error.

Original exception: exception 'DBUnexpectedError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: select ssid,
max as last,
count,
vehicle_ids,
ips,
min,
bssid,
network.manufacturer(bssid)
from frida.network_ping_view
order by max desc
limit 100
Function:
Error: 1 ERROR: permission denied for schema network
' in /home/mediawiki/lib/phase3/includes/db/DatabasePostgres.php:778
Stack trace:
#0 /home/mediawiki/lib/phase3/includes/db/Database.php(746): DatabasePostgres->reportQueryError('ERROR: permiss...', 1, ' select ssid, \n...', '', false)
#1 /home/fridav/huda/fridav/htdocs/wiki/extensions/query.php(33): DatabaseBase->query(' select ssid, \n...')
#2 [internal function]: renderQuery('Networks', Array, Object(Parser), Object(PPFrame_DOM))
#3 /home/mediawiki/lib/phase3/includes/parser/Parser.php(3510): call_user_func_array('renderQuery', Array)
#4 /home/mediawiki/lib/phase3/includes/parser/Preprocessor_DOM.php(1055): Parser->extensionSubstitution(Array, Object(PPFrame_DOM))
#5 /home/mediawiki/lib/phase3/includes/parser/Parser.php(2880): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#6 /home/mediawiki/lib/phase3/includes/parser/Parser.php(1040): Parser->replaceVariables('<query>Networks...')
#7 /home/mediawiki/lib/phase3/includes/parser/Parser.php(313): Parser->internalParse('<query>Networks...')
#8 /home/mediawiki/lib/phase3/includes/Article.php(4372): Parser->parse('<query>Networks...', Object(Title), Object(ParserOptions), true, true, 79)
#9 /home/mediawiki/lib/phase3/includes/Article.php(4349): Article->getOutputFromWikitext('<query>Networks...', true, Object(ParserOptions))
#10 /home/mediawiki/lib/phase3/includes/Article.php(1491): Article->outputWikiText('<query>Networks...', true, Object(ParserOptions))
#11 /home/mediawiki/lib/phase3/includes/Article.php(4597): Article->doViewParse()
#12 /home/mediawiki/lib/phase3/includes/PoolCounter.php(151): PoolWorkArticleView->doWork()
#13 /home/mediawiki/lib/phase3/includes/Article.php(1009): PoolCounterWork->execute()
#14 /home/mediawiki/lib/phase3/includes/Wiki.php(477): Article->view()
#15 /home/mediawiki/lib/phase3/includes/Wiki.php(69): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#16 /home/mediawiki/lib/phase3/index.php(104): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#17 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT value,exptime FROM objectcache WHERE keyname = 'ljudmila:resourceloader:filter:minify-js:1:f9fe7d9cfc0eecdf133869881d2c934b' LIMIT 1
Function: SqlBagOStuff::get
Error: 1 ERROR: current transaction is aborted, commands ignored until end of transaction block
' in /home/mediawiki/lib/phase3/includes/db/DatabasePostgres.php:778
Stack trace:
#0 /home/mediawiki/lib/phase3/includes/db/Database.php(746): DatabasePostgres->reportQueryError('ERROR: current...', 1, 'SELECT value,e...', 'SqlBagOStuff::g...', false)
#1 /home/mediawiki/lib/phase3/includes/db/Database.php(1051): DatabaseBase->query('SELECT value,e...', 'SqlBagOStuff::g...')
#2 /home/mediawiki/lib/phase3/includes/db/Database.php(1135): DatabaseBase->select('objectcache', Array, Array, 'SqlBagOStuff::g...', Array, Array)
#3 /home/mediawiki/lib/phase3/includes/objectcache/SqlBagOStuff.php(54): DatabaseBase->selectRow('objectcache', Array, Array, 'SqlBagOStuff::g...')
#4 /home/mediawiki/lib/phase3/includes/resourceloader/ResourceLoader.php(141): SqlBagOStuff->get('ljudmila:resour...')
#5 /home/mediawiki/lib/phase3/includes/resourceloader/ResourceLoader.php(536): ResourceLoader->filter('minify-js', 'mw.user.options...')
#6 /home/mediawiki/lib/phase3/includes/OutputPage.php(2502): ResourceLoader->makeModuleResponse(Object(ResourceLoaderContext), Array)
#7 /home/mediawiki/lib/phase3/includes/OutputPage.php(2605): OutputPage->makeResourceLoaderLink(Object(SkinMonoBook), Array, 'scripts')
#8 /home/mediawiki/lib/phase3/includes/Skin.php(882): OutputPage->getHeadScripts(Object(SkinMonoBook))
#9 /home/mediawiki/lib/phase3/includes/SkinTemplate.php(457): Skin->bottomScripts(Object(OutputPage))
#10 /home/mediawiki/lib/phase3/includes/OutputPage.php(1857): SkinTemplate->outputPage(Object(OutputPage))
#11 /home/mediawiki/lib/phase3/includes/Exception.php(189): OutputPage->output()
#12 /home/mediawiki/lib/phase3/includes/Exception.php(220): MWException->reportHTML()
#13 /home/mediawiki/lib/phase3/includes/Exception.php(341): MWException->report()
#14 /home/mediawiki/lib/phase3/includes/Exception.php(409): wfReportException(Object(DBUnexpectedError))
#15 [internal function]: wfExceptionHandler(Object(DBUnexpectedError))
#16 {main}