• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Error while choosing the template - PHP Warning : json_encode(): Invalid UTF-8

AlexandreS

New Pleskian
Hello

I'm having a problem while choosing the template in Web Presence Builder for one specific site:

PHP Warning : json_encode(): Invalid UTF-8 sequence in argument
Acompanhamento da pilha:
#0 [internal function]: Base_SyntaxException::handleError(2, 'json_encode(): ...', '/usr/local/psa/...', 146, Array)
#1 /usr/local/psa/admin/externals/Zend/Json.php(146): json_encode(Array)
#2 /usr/local/psa/admin/externals/Zend/View/Helper/Json.php(67): Zend_Json::encode(Array, NULL, Array)
#3 /usr/local/psa/admin/externals/Zend/Controller/Action/Helper/Json.php(72): Zend_View_Helper_Json->json(Array, false)
#4 /usr/local/psa/admin/externals/Zend/Controller/Action/Helper/Json.php(100): Zend_Controller_Action_Helper_Json->encodeJson(Array, false)
#5 /usr/local/sb/include/SB/Controllers/JsonApi.php(421): Zend_Controller_Action_Helper_Json->sendJson(Array)
#6 /usr/local/psa/admin/externals/Zend/Controller/Action.php(521): SB_Controllers_JsonApi->postDispatch()
#7 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('defaultAction')
#8 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(SB_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/local/sb/include/SB/Application/Web.php(260): Zend_Controller_Front->dispatch()
#10 /usr/local/sb/htdocs/index.php(3): SB_Application_Web::run()
#11 {main}

Centos 6.4 x64
Plesk 11.5

What can be wrong?

Thanks,
Alexandre
 
It looks like that you have locale with incorrect symbols for UTF-8 in some files or some records in database with non-UTF-8 symbols that corrupted json.
Try to find and correct it by yourself or contact Support Team.
 
Back
Top