警告:json_decode() 期望参数 1 为字符串,第 602 行 plugins/system/kazaam/kazaam.php 中给出的数组
Warning: json_decode() expects parameter 1 to be string, array given in plugins/system/kazaam/kazaam.php on line 602
我从类别中安装了 KAZAAM for my joomla to creat an automated 菜单。它显示错误 "Warning: json_decode() expects parameter 1 to be string, array given in plugins/system/kazaam/kazaam.php on line 602"。
line 602 "$params = (object) json_decode($this->getParam('params'));"
您必须传递字符串而不是数组。你知道你想要解码什么吗?尝试做 print_r($this->getParam('params'))
.
我从类别中安装了 KAZAAM for my joomla to creat an automated 菜单。它显示错误 "Warning: json_decode() expects parameter 1 to be string, array given in plugins/system/kazaam/kazaam.php on line 602"。
line 602 "$params = (object) json_decode($this->getParam('params'));"
您必须传递字符串而不是数组。你知道你想要解码什么吗?尝试做 print_r($this->getParam('params'))
.