thinkcmf上传到阿里云虚拟主机后报错

用户登录时报错

vendor/topthink/framework/src/think/response/Json.php  

  1. line: 51
  2. message: "Type is not supported"

报错代码 

$data = json_encode($data, $this->options['json_encode_param']);

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

return $data;

原文地址:https://www.cnblogs.com/djiz/p/14994061.html