Hi I have configure cs cart project on local and have made debug_mode on but on debug tab it only show 17 files include template and when i click on template tab it shows error
Message
json_decode() expects parameter 1 to be string, array given
Error at
D:\laragon\www\leyjao\app\Tygh\Debugger.php, line: 148
target function at 148
public static function getData($data_time)
{
$data = array();
if (!empty($data_time)) {
$debugger_data = Registry::get(‘dbg_’ . $data_time);
$data = !empty($debugger_data) ? $debugger_data : array();
$data = json_decode($data, true);
}
return $data;
}
here the registry function is not returning data here is the registry function
public static function get($key)
{
if (isset(self::$legacy_keys[$key])) {
// Development::deprecated(‘Usage of Registry class for storing services is deprecated. Use Tygh::$app instead.’);
return self::$application[$key];
}
$val = self::_varByKey('get', $key);
return ($val !== self::NOT_FOUND) ? $val : null;
}
My cs cart version is 4.11.3 Now what to do here to get the results. Anyone can help?