ddddd

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
要展示的内容

错误如下图

1.png

解决办法:


找到并打开:thinkphplibrary hinkResponse.php 文件


找到:创建Response对象

1.png

 在class_exists($class) 后面加上 && is_array($data)  即可

1.png

温馨提示:

欢迎阅读本文章,觉得有用就多来支持一下,没有能帮到您,还有很多文章,希望有一天能帮到您。

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---相关文章


评论区

ddddd

程序员-学习的网站-想学习编程的码农可以进来看看

首页

视频教程

购物车

我的订单