tp5 类型错误: Argument 1 passed to think\response\Html::__construct() must be an instance of think\Cookie, string given, called in F:\www\dapp\thinkphp\library\think\Response.php on line 74
类型错误: Argument 1 passed to think\response\Html::__construct() must be an instance of think\Cookie, string given, called in F:\www\dapp\thinkphp\library\think\Response.php on line 74
如图:

解决办法:
找到并打开:thinkphp\library\think\Response.php 文件
找到:创建Response对象

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

 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号