MediaWiki internal error.

Original exception: exception 'DBUnexpectedError' with message 'Unable to free MySQL result' in /home/encyclopedia/public_html/w/includes/db/Database.php:769
Stack trace:
#0 /home/encyclopedia/public_html/w/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php(1963): Database->freeResult(false)
#1 /home/encyclopedia/public_html/w/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php(1888): SMWSQLStore2->getSMWPageIDandSort('Main', 4, '', '', true)
#2 /home/encyclopedia/public_html/w/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php(154): SMWSQLStore2->getSMWPageID('Main', 4, '')
#3 /home/encyclopedia/public_html/w/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php(233): SMWSQLStore2->getSemanticData(Object(Title), Array)
#4 /home/encyclopedia/public_html/w/extensions/SemanticForms/includes/SF_LinkUtils.inc(70): SMWSQLStore2->getPropertyValues(Object(Title), Object(SMWPropertyValue))
#5 /home/encyclopedia/public_html/w/extensions/SemanticForms/includes/SF_LinkUtils.inc(176): SFLinkUtils::getDefaultForm('Main', 4)
#6 /home/encyclopedia/public_html/w/extensions/SemanticForms/includes/SF_LinkUtils.inc(241): SFLinkUtils::getAddDataLinkForPage(Object(Title), 'Main', 4)
#7 /home/encyclopedia/public_html/w/extensions/SemanticForms/includes/SF_LinkUtils.inc(209): SFLinkUtils::addDataLink(Object(Title))
#8 [internal function]: SFLinkUtils::setBrokenLink(Object(SkinMonoBook), Object(Title), Array, 'Albuquerque Duk...', Array, NULL)
#9 /home/encyclopedia/public_html/w/includes/Hooks.php(117): call_user_func_array(Array, Array)
#10 /home/encyclopedia/public_html/w/includes/Linker.php(222): wfRunHooks('LinkEnd', Array)
#11 /home/encyclopedia/public_html/w/includes/Linker.php(509): Linker->link(Object(Title), 'Albuquerque Duk...', Array, Array, 'broken')
#12 /home/encyclopedia/public_html/w/includes/parser/LinkHolderArray.php(233): Linker->makeBrokenLinkObj(Object(Title), 'Albuquerque Duk...', '')
#13 /home/encyclopedia/public_html/w/includes/parser/LinkHolderArray.php(115): LinkHolderArray->replaceInternal('<table class="i...')
#14 /home/encyclopedia/public_html/w/includes/parser/Parser.php(4074): LinkHolderArray->replace('<table class="i...')
#15 /home/encyclopedia/public_html/w/includes/parser/Parser.php(343): Parser->replaceLinkHolders('<table class="i...')
#16 /home/encyclopedia/public_html/w/includes/OutputPage.php(503): Parser->parse('{{team-season-i...', Object(Title), Object(ParserOptions), true, true, 522950)
#17 /home/encyclopedia/public_html/w/includes/OutputPage.php(489): OutputPage->addWikiTextTitle('{{team-season-i...', Object(Title), true, true)
#18 /home/encyclopedia/public_html/w/includes/OutputPage.php(620): OutputPage->addWikiTextTitleTidy('{{team-season-i...', Object(Title), true)
#19 /home/encyclopedia/public_html/w/includes/diff/DifferenceEngine.php(362): OutputPage->addWikiTextTidy('{{team-season-i...')
#20 /home/encyclopedia/public_html/w/includes/diff/DifferenceEngine.php(320): DifferenceEngine->renderNewRevision()
#21 /home/encyclopedia/public_html/w/includes/Article.php(806): DifferenceEngine->showDiffPage(false)
#22 /home/encyclopedia/public_html/w/includes/Wiki.php(450): Article->view()
#23 /home/encyclopedia/public_html/w/includes/Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#24 /home/encyclopedia/public_html/w/index.php(118): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#25 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Unable to free MySQL result' in /home/encyclopedia/public_html/w/includes/db/Database.php:769
Stack trace:
#0 /home/encyclopedia/public_html/w/extensions/SemanticForms/includes/SF_LinkUtils.inc(270): Database->freeResult(false)
#1 /home/encyclopedia/public_html/w/extensions/SemanticForms/includes/SF_LinkUtils.inc(280): SFLinkUtils::getCategoriesForArticle(Object(SkinMonoBook))
#2 /home/encyclopedia/public_html/w/extensions/SemanticForms/includes/SF_FormEditTab.php(25): SFLinkUtils::getFormForArticle(Object(SkinMonoBook))
#3 [internal function]: SFFormEditTab::displayTab(Object(SkinMonoBook), Array)
#4 /home/encyclopedia/public_html/w/includes/Hooks.php(117): call_user_func_array(Array, Array)
#5 /home/encyclopedia/public_html/w/includes/SkinTemplate.php(804): wfRunHooks('SkinTemplateTab...', Array)
#6 /home/encyclopedia/public_html/w/includes/SkinTemplate.php(437): SkinTemplate->buildContentActionUrls()
#7 /home/encyclopedia/public_html/w/includes/OutputPage.php(968): SkinTemplate->outputPage(Object(OutputPage))
#8 /home/encyclopedia/public_html/w/includes/Exception.php(159): OutputPage->output()
#9 /home/encyclopedia/public_html/w/includes/Exception.php(186): MWException->reportHTML()
#10 /home/encyclopedia/public_html/w/includes/Exception.php(284): MWException->report()
#11 /home/encyclopedia/public_html/w/includes/Exception.php(344): wfReportException(Object(DBUnexpectedError))
#12 [internal function]: wfExceptionHandler(Object(DBUnexpectedError))
#13 {main}