XF 1.4 atal error: Call to undefined function mb_convert_encoding

Amin Sabet

Well-known member
I imported a vBulletin 4 forum to Xenforo, and all seems to have gone well except that one of my subforum links is giving errors like:

Fatal error: Call to undefined function mb_convert_encoding() in /home/asabet/public_html/talkemount.com/library/XenPlus/Dom/Document.php on line 7

That particular subforum was one that I would post to using a form mod with vBulletin, but here I'd be happy enough for it to be a regular forum. Here's the server error I get:

Code:
Server Error Log
Error Info
ErrorException: Fatal Error: Call to undefined function mb_convert_encoding() -library/XenPlus/Dom/Document.php:7
Generated By: Amin Sabet, 16 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(68) "http://www.talkemount.com/index.php?forums/member-buy-sell-trade.34/"
["_GET"] => array(1) {
["forums/member-buy-sell-trade_34/"] => string(0) ""
}
["_POST"] => array(0) {
}
}

and another one which I think is related?

Code:
Server Error Log
Error Info
ErrorException: Declaration of XenPlus_Dom_Document::loadHTML() should be compatible with DOMDocument::loadHTML($source, $options = NULL) - library/XenPlus/Dom/Document.php:0
Generated By: Amin Sabet, 20 minutes ago
Stack Trace
#0 /home/asabet/public_html/talkemount.com/library/XenForo/Autoloader.php(119): XenForo_Application::handlePhpError(2048, 'Declaration of ...', '/home/asabet/pu...', 0, Array)
#1 /home/asabet/public_html/talkemount.com/library/XenForo/Autoloader.php(119): XenForo_Autoloader::autoload()
#2 [internal function]: XenForo_Autoloader->autoload('XenPlus_Dom_Doc...')
#3 /home/asabet/public_html/talkemount.com/library/XenPlus/Dom/Query.php(11): spl_autoload_call('XenPlus_Dom_Doc...')
#4 /home/asabet/public_html/talkemount.com/library/XenPlus/Dom/Query.php(31): XenPlus_Dom_Query->getDom()
#5 /home/asabet/public_html/talkemount.com/library/Zend/Dom/Query.php(231): XenPlus_Dom_Query->queryXpath('//*[contains(co...', '.discussionList...')
#6 /home/asabet/public_html/talkemount.com/library/XenTrader/Listener/TemplatePostRender.php(95): Zend_Dom_Query->query('.discussionList...')
#7 /home/asabet/public_html/talkemount.com/library/XenPlus/Listener/TemplatePostRender.php(13): XenTrader_Listener_TemplatePostRender->_forumView('\n\n\n\n\t\n\n\n\n\n\n\n\n\n\n...', Array)
#8 /home/asabet/public_html/talkemount.com/library/XenPlus/Listener/Abstract.php(21): XenPlus_Listener_TemplatePostRender->execute('forum_view', '\n\n\n\n\t\n\n\n\n\n\n\n\n\n\n...', Array, Object(XenForo_Template_Public), NULL, NULL, NULL, NULL, NULL, NULL)
#9 [internal function]: XenPlus_Listener_Abstract::listen('forum_view', '\n\n\n\n\t\n\n\n\n\n\n\n\n\n\n...', Array, Object(XenForo_Template_Public))
#10 /home/asabet/public_html/talkemount.com/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#11 /home/asabet/public_html/talkemount.com/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_view')
#12 /home/asabet/public_html/talkemount.com/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#13 /home/asabet/public_html/talkemount.com/library/XenForo/ViewRenderer/HtmlPublic.php(123): XenForo_Template_Public->render()
#14 /home/asabet/public_html/talkemount.com/library/XenForo/FrontController.php(618): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#15 /home/asabet/public_html/talkemount.com/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#16 /home/asabet/public_html/talkemount.com/index.php(13): XenForo_FrontController->run()
#17 {main}
 
Top Bottom