系统不支持PHP 7.4 请解决

ithunk   ·   发表于 2021-2-2   ·   BUG建议

一直以来都不支持PHP 7.4,安装界面最后一步就出现thinkphp这个错误提示,这个错误出现好久了,反馈给作者,作者都不予理睬,还是希望能尽快解决。

致命错误: Object of class think\response\View could not be converted to string


4 条回复   |  直到 2021-3-28 | 498 次浏览

ithunk
发表于 2021-2-2

点击书库连接的时候,php 7.4 调试模式下出现如下错误

[8] ErrorExceptionin Api.php line 607

Trying to access array offset on value of type bool

       

		$data['id']=$key;		$data['new']=(time()-$data['update_time']<(3*24*3600))?1:0;		$data['time']=$data['update_time'];		$data['url']=url('home/chapter/index',['id'=>$id,'key'=>$key]);		return $data;    }	public function get_tpl($id,$tpl_type){		$tpl=$this->get_category($id);		if($tpl[$tpl_type]){			return $tpl[$tpl_type];		}		if($tpl['pid']==0){			$this->error='模板未设置!';		}else{			return $this->get_tpl($tpl['pid'],$tpl_type);		}	}


评论列表

  • 加载数据中...

编写评论内容

ithunk
发表于 2021-2-2

还是迫切希望作者更新最新的thinkphp版本,并兼容php7.4版本

评论列表

  • 加载数据中...

编写评论内容

ithunk
发表于 2021-2-8

继续顶一下,希望作者关注

评论列表

  • 加载数据中...

编写评论内容

hoping
发表于 2021-3-28

貌似7.4使用正常啊,

评论列表

  • 加载数据中...

编写评论内容
登录后才可发表内容