请问各位大佬有没有碰到这个问题

浏览:2026 发布日期:2018/12/12 分类:ThinkPHP5专区
[0] InvalidArgumentException in Json.php line 39
Malformed UTF-8 characters, possibly incorrectly encoded
* @throws \Exception
*/
protected function output($data)
{
try {
// 返回JSON数据格式到客户端 包含状态信息
$data = json_encode($data, $this->options['json_encode_param']);

if ($data === false) {
throw new \InvalidArgumentException(json_last_error_msg());
}

return $data;
} catch (\Exception $e) {
if ($e->getPrevious()) {
throw $e->getPrevious();
}
throw $e;
}
Call Stack
in Json.php line 39
at Json->output(['code' => 2002, 'message' => 'SQLSTATE[HY000] [200...']) in Response.php line 309
at Response->getContent() in Response.php line 94
at Response->send() in start.php line 19
at require('F:\admin.ysstar.cn\t...') in index.php line 17

附件 微信截图_20181212153825.png ( 57.74 KB 下载:24 次 )

最佳答案
评论( 相关
后面还有条评论,点击查看>>