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 xmlelement(name a, xmlattributes('/srv/map/'||date||'/' as href),to_char(date,'YYYY-MM-DD Dy')) as date,
name,
xmlelement(name a, xmlattributes(frida.data_url(date,vehicle_id) as href),files) as files,
pings, positions, bssids, waypoints, tracks, itracks, media, pmedia,
xmlelement(name a, xmlattributes(city_url as href),px.basename(city_url)) as city
FROM frida.overview_date_vehicle
WHERE date IS NOT NULL
AND date >= date'2004-01-01'
ORDER BY to_char(date,'YYYY-MM-DD Dy') DESC
Function:
Error: 1 ERROR: permission denied for schema frida
LINE 6: FROM frida.overview_date_vehicle
^
' 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 xmlelem...', '', false)
#1 /home/fridav/huda/fridav/htdocs/wiki/extensions/query.php(33): DatabaseBase->query(' SELECT xmlelem...')
#2 [internal function]: renderQuery('Overview', 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 flot="1"...')
#7 /home/mediawiki/lib/phase3/includes/parser/Parser.php(313): Parser->internalParse('<query flot="1"...')
#8 /home/mediawiki/lib/phase3/includes/Article.php(4372): Parser->parse('<query flot="1"...', Object(Title), Object(ParserOptions), true, true, 2153)
#9 /home/mediawiki/lib/phase3/includes/Article.php(4349): Article->getOutputFromWikitext('<query flot="1"...', true, Object(ParserOptions))
#10 /home/mediawiki/lib/phase3/includes/Article.php(1491): Article->outputWikiText('<query flot="1"...', 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}