Not a bug Default template/themes - Template public:thread_view error: Received invalid UTF-8 for string column [message]

marring

Member
Affected version
2.0.1
It could make the message does not display (blank).

Code:
InvalidArgumentException: Template public:thread_view error: Received invalid UTF-8 for string column [message] src/XF/Mvc/Entity/Entity.php:685

Stack Trace
#0 src/XF/Mvc/Entity/Entity.php(572): XF\Mvc\Entity\Entity->_castValueToType('Khi nh\xE1\xBA\xAFc \xC4\x91\xE1\xBA...', 'message', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(502): XF\Mvc\Entity\Entity->set('message', 'Khi nh\xE1\xBA\xAFc \xC4\x91\xE1\xBA...')
#2 src/addons/Andy/FeaturedPosts/Widget/FeaturedPosts.php(59): XF\Mvc\Entity\Entity->__set('message', 'Khi nh\xE1\xBA\xAFc \xC4\x91\xE1\xBA...')
#3 src/XF/Template/Templater.php(1506): Andy\FeaturedPosts\Widget\FeaturedPosts->render()
#4 internal_data/code_cache/templates/l2/s16/public/thread_view.php(822): XF\Template\Templater->widgetPosition('thread_view_sid...', Array)
#5 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#6 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#7 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

-------------

Previous InvalidArgumentException: Received invalid UTF-8 for string column - src/XF/Mvc/Entity/ValueFormatter.php:100
#0 src/XF/Mvc/Entity/Entity.php(681): XF\Mvc\Entity\ValueFormatter->castValueToType('Khi nh\xE1\xBA\xAFc \xC4\x91\xE1\xBA...', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(572): XF\Mvc\Entity\Entity->_castValueToType('Khi nh\xE1\xBA\xAFc \xC4\x91\xE1\xBA...', 'message', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(502): XF\Mvc\Entity\Entity->set('message', 'Khi nh\xE1\xBA\xAFc \xC4\x91\xE1\xBA...')
#3 src/addons/Andy/FeaturedPosts/Widget/FeaturedPosts.php(59): XF\Mvc\Entity\Entity->__set('message', 'Khi nh\xE1\xBA\xAFc \xC4\x91\xE1\xBA...')
#4 src/XF/Template/Templater.php(1506): Andy\FeaturedPosts\Widget\FeaturedPosts->render()
#5 internal_data/code_cache/templates/l2/s16/public/thread_view.php(822): XF\Template\Templater->widgetPosition('thread_view_sid...', Array)
#6 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#7 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#8 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#9 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#10 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#12 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#13 src/XF.php(328): XF\App->run()
#14 index.php(13): XF::runApp('XF\\Pub\\App')
#15 {main}
 
Back
Top Bottom