社区内容AI智能生成报错


接口返回:
{
"status": 400,
"msg": "crmeb\\utils\\Json::make(): Argument #2 ($msg) must be of type string, null given, called in \/www\/wwwroot\/pro_crmeb\/crmeb\/utils\/Json.php on line 107",
"data": {
"file": "\/www\/wwwroot\/pro_crmeb\/crmeb\/utils\/Json.php",
"line": 66,
"trace": [
{
"file": "\/www\/wwwroot\/pro_crmeb\/crmeb\/utils\/Json.php",
"line": 107,
"function": "make",
"class": "crmeb\\utils\\Json",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/crmeb\/basic\/BaseAuth.php",
"line": 324,
"function": "success",
"class": "crmeb\\utils\\Json",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/crmeb\/basic\/BaseAuth.php",
"line": 452,
"function": "crmeb\\basic\\{closure}",
"class": "crmeb\\basic\\BaseAuth",
"type": "->"
},
{
"function": "__call",
"class": "crmeb\\basic\\BaseAuth",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/crmeb\/basic\/BaseController.php",
"line": 578,
"function": "call_user_func_array"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/app\/controller\/admin\/v1\/system\/Ai.php",
"line": 27,
"function": "__call",
"class": "crmeb\\basic\\BaseController",
"type": "->"
},
{
"function": "chatAi",
"class": "app\\controller\\admin\\v1\\system\\Ai",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 345,
"function": "invokeArgs",
"class": "ReflectionMethod",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 110,
"function": "invokeReflectMethod",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\route\\dispatch\\{closure}",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 113,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php",
"line": 52,
"function": "exec",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 755,
"function": "run",
"class": "think\\route\\Dispatch",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/app\/http\/middleware\/admin\/AdminLogMiddleware.php",
"line": 54,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\admin\\AdminLogMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/app\/http\/middleware\/admin\/AdminCkeckRoleMiddleware.php",
"line": 56,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\admin\\AdminCkeckRoleMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/app\/http\/middleware\/admin\/AdminAuthTokenMiddleware.php",
"line": 39,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\admin\\AdminAuthTokenMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/app\/http\/middleware\/AllowOriginMiddleware.php",
"line": 50,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\AllowOriginMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/app\/http\/middleware\/InstallMiddleware.php",
"line": 32,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\InstallMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 756,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 208,
"function": "dispatch",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 198,
"function": "dispatchToRoute",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/middleware\/LoadLangPack.php",
"line": 53,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\LoadLangPack",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/middleware\/SessionInit.php",
"line": 58,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\SessionInit",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/crmeb\/topthink\/TraceDebug.php",
"line": 43,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "crmeb\\topthink\\TraceDebug",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 199,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 162,
"function": "runWithRequest",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 143,
"function": "run",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 125,
"function": "handleRequest",
"class": "think\\swoole\\Manager",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 295,
"function": "think\\swoole\\concerns\\{closure}",
"class": "think\\swoole\\Manager",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 359,
"function": "invokeFunction",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/think-swoole\/src\/Sandbox.php",
"line": 87,
"function": "invoke",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/WithApplication.php",
"line": 84,
"function": "run",
"class": "think\\swoole\\Sandbox",
"type": "->"
},
{
"file": "\/www\/wwwroot\/pro_crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 134,
"function": "runInSandbox",
"class": "think\\swoole\\Manager",
"type": "->"
}
],
"previous": null
}
}
【产品名称】:标准版 (PHP) / Pro 会员电商系统 / 多门店系统 / 多商户系统 (PHP) / 标准版 (Java) / 多商户外贸版 / 知识付费系统 / 多商户系统 (Java)
【产品版本】:v3.4.0
【部署方式】: linux宝塔面板
【部署环境】: 线上环境
【php版本】:7.3
【Mysql版本】:5.7
【使用终端】:后台

