Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Front Store completely down due to translation/locale problem
N Lopez
Sr. Member
Total Posts:  94
Joined:  2008-06-16

I have a fatal error on my front store. When I try to access it I have this screen:

Warning: json_encode(): Invalid UTF-8 sequence in argument in /backup/hsphere/local/home/papiringo/ on line 95
#0 /backup/hsphere/local/home/papiringo/ mageCoreErrorHandler(2, ‘json_encode(): ...’, ‘/backup/hsphere...’, 95, Array)
#1 /backup/hsphere/local/home/papiringo/ Zend_Json::encode(Array)
#2 /backup/hsphere/local/home/papiringo/ Mage_Core_Helper_Js->getTranslateJson(Array)
#3 /backup/hsphere/local/home/papiringo/ Mage_Core_Helper_Js->getTranslatorScript()
#4 /backup/hsphere/local/home/papiringo/ include(’/backup/hsphere...’)
#5 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Template->fetchView()
#6 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Template->renderView(’frontend/defaul...’)
#7 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Template->_toHtml()
#8 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Abstract->toHtml()
#9 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Abstract->_getChildHtml()
#10 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Abstract->getChildHtml(’head’, true)
#11 /backup/hsphere/local/home/papiringo/ include(’/backup/hsphere...’)
#12 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Template->fetchView(’head’)
#13 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Template->renderView(’frontend/defaul...’)
#14 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Template->_toHtml()
#15 /backup/hsphere/local/home/papiringo/ Mage_Core_Block_Abstract->toHtml()
#16 /backup/hsphere/local/home/papiringo/ Mage_Core_Model_Layout->getOutput()
#17 /backup/hsphere/local/home/papiringo/ Mage_Core_Controller_Varien_Action->renderLayout()
#18 /backup/hsphere/local/home/papiringo/ Mage_Cms_Helper_Page->renderPage()
#19 /backup/hsphere/local/home/papiringo/ Mage_Cms_IndexController->indexAction(Object(Mage_Cms_IndexController), ‘home’)
#20 /backup/hsphere/local/home/papiringo/ Mage_Core_Controller_Varien_Action->dispatch()
#21 /backup/hsphere/local/home/papiringo/ Mage_Core_Controller_Varien_Router_Standard->match(’index’)
#22 /backup/hsphere/local/home/papiringo/ Mage_Core_Controller_Varien_Front->dispatch(Object(Mage_Core_Controller_Request_Http))
#23 /backup/hsphere/local/home/papiringo/ Mage::run()
#24 {main}

My host took a look at this and this is they answer:

The UTF-8 error I believe has to do with your translation/locale. Magento is not able to parse some of your language strings as valid UTF-8 which results in the error. For now, I have changed your locale to en_US in order for you to have a look at the problem.

What I consider more unusual is this error just appeared suddenly, I did not make any changes the day or even the week before this problem. I am using ver in a shared hosting.

Does somebody have a similar problem, any suggestions how to fix it?

Magento Community Magento Community
Magento Community
Magento Community
N Lopez
Sr. Member
Total Posts:  94
Joined:  2008-06-16

All this happened while using the Spanish (Mexico) locale for my Spanish store view, as son I changed it to English (United States) the problem was gone.

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top