tp5 类型错误: Argument 1 passed to thinkesponseHtml::__construct() must be an instance of thinkCookie, string given, called in F:wwwdapp hinkphplibrary hinkResponse.php on line 74
作者:程序员11 时间:2021-12-06 人气:493 QQ交流群\邮箱:1003265987@qq.com
类型错误: Argument 1 passed to think
esponseHtml::__construct() must be an instance of thinkCookie, string given, called in F:wwwdapp hinkphplibrary hinkResponse.php on line 74
要展示的内容
错误如下图
解决办法:
找到并打开:thinkphplibrary hinkResponse.php 文件
找到:创建Response对象
在class_exists($class) 后面加上 && is_array($data) 即可
温馨提示:
欢迎阅读本文章,觉得有用就多来支持一下,没有能帮到您,还有很多文章,希望有一天能帮到您。
- 上一篇:php生成二维码的三种方法
- 下一篇:thinkphp 5中的混合查询