[PrestaShop] A problem in ‘TECHNICAL ERROR: unable to load form. Details Error thrown:’ message

[PrestaShop] A problem in ‘TECHNICAL ERROR: unable to load form. Details Error thrown:’ message

As Using a prestashop in multilingual, we usually have a problem that loaded data to show from JavaScript with json format, moreover the prestashop called the load with its global function in class path ‘\classes\Tools.php’

1. public static function jsonEncode($data)

3.if(function_exists(‘json_encode’))

4.returnjson_encode($data );

7.include_once(_PS_TOOL_DIR_.’json/json.php’);

8. $pear_json = new Services_JSON();

9.return $pear_json->encode($data);

How to solved this, you ought to add command in line number 4 with;

returnjson_encode($data,JSON_UNESCAPED_UNICODE );

You will have never found a message of problem anymore.

Congratulations, all of you for solved problem.


Originally published at windowsdna.blogspot.com on June 21, 2015.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.