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 page_id,page_namespace,page_title,page_len,page_is_redirect,page_latest,pp_value FROM `gw_page` LEFT JOIN `gw_page_props` ON (pp_propname = 'hiddencat' AND (pp_page = page_id)) WHERE (page_namespace = '14' AND page_title IN ('AraƱas','Guardabosques','Valle_del_Regente_(pre-DevastaciĆ³n)') )
Function: OutputPage::addCategoryLinks
Error: 1286 Unknown table engine 'InnoDB' (localhost)
' in /var/html/guildwiki.es/w-1.19/includes/db/Database.php:918
Stack trace:
#0 /var/html/guildwiki.es/w-1.19/includes/db/Database.php(885): DatabaseBase->reportQueryError('Unknown table e...', 1286, 'SELECT page_id...', 'OutputPage::add...', false)
#1 /var/html/guildwiki.es/w-1.19/includes/db/Database.php(1358): DatabaseBase->query('SELECT page_id...', 'OutputPage::add...')
#2 /var/html/guildwiki.es/w-1.19/includes/OutputPage.php(1129): DatabaseBase->select(Array, Array, '(page_namespace...', 'OutputPage::add...', Array, Array)
#3 /var/html/guildwiki.es/w-1.19/includes/OutputPage.php(1493): OutputPage->addCategoryLinks(Array)
#4 /var/html/guildwiki.es/w-1.19/includes/OutputPage.php(1539): OutputPage->addParserOutputNoText(Object(ParserOutput))
#5 /var/html/guildwiki.es/w-1.19/includes/Article.php(603): OutputPage->addParserOutput(Object(ParserOutput))
#6 /var/html/guildwiki.es/w-1.19/includes/actions/ViewAction.php(40): Article->view()
#7 /var/html/guildwiki.es/w-1.19/includes/Wiki.php(484): ViewAction->show()
#8 /var/html/guildwiki.es/w-1.19/includes/Wiki.php(278): MediaWiki->performAction(Object(Article))
#9 /var/html/guildwiki.es/w-1.19/includes/Wiki.php(593): MediaWiki->performRequest()
#10 /var/html/guildwiki.es/w-1.19/includes/Wiki.php(503): MediaWiki->main()
#11 /var/html/guildwiki.es/w-1.19/index.php(58): MediaWiki->run()
#12 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in numRows(): Unknown table engine 'InnoDB' (localhost)' in /var/html/guildwiki.es/w-1.19/includes/db/DatabaseMysql.php:234
Stack trace:
#0 /var/html/guildwiki.es/w-1.19/includes/db/DatabaseUtility.php(102): DatabaseMysql->numRows(Object(ResultWrapper))
#1 /var/html/guildwiki.es/w-1.19/includes/db/DatabaseUtility.php(154): ResultWrapper->numRows()
#2 /var/html/guildwiki.es/w-1.19/includes/cache/LinkBatch.php(132): ResultWrapper->rewind()
#3 /var/html/guildwiki.es/w-1.19/includes/cache/LinkBatch.php(108): LinkBatch->addResultToCache(Object(LinkCache), Object(ResultWrapper))
#4 /var/html/guildwiki.es/w-1.19/includes/cache/LinkBatch.php(94): LinkBatch->executeInto(Object(LinkCache))
#5 /var/html/guildwiki.es/w-1.19/includes/Skin.php(211): LinkBatch->execute()
#6 /var/html/guildwiki.es/w-1.19/includes/Skin.php(186): Skin->preloadExistence()
#7 /var/html/guildwiki.es/w-1.19/skins/Vector.php(31): Skin->initPage(Object(OutputPage))
#8 /var/html/guildwiki.es/w-1.19/includes/SkinTemplate.php(161): SkinVector->initPage(Object(OutputPage))
#9 /var/html/guildwiki.es/w-1.19/includes/OutputPage.php(1982): SkinTemplate->outputPage()
#10 /var/html/guildwiki.es/w-1.19/includes/Exception.php(182): OutputPage->output()
#11 /var/html/guildwiki.es/w-1.19/includes/Exception.php(209): MWException->reportHTML()
#12 /var/html/guildwiki.es/w-1.19/includes/Exception.php(490): MWException->report()
#13 /var/html/guildwiki.es/w-1.19/includes/Exception.php(569): MWExceptionHandler::report(Object(DBQueryError))
#14 /var/html/guildwiki.es/w-1.19/includes/Wiki.php(506): MWExceptionHandler::handle(Object(DBQueryError))
#15 /var/html/guildwiki.es/w-1.19/index.php(58): MediaWiki->run()
#16 {main}