0
点赞
收藏
分享

微信扫一扫

Warning: count(): Parameter must be an array or an object that implements Countable in line 302解决方法

幺幺零 2023-03-10 阅读 116


 既然提示count()参数必须是一个数组或一个对象,那我们就直接将它设为数组试试

if (count($tombstones) > 0) :

改为 

if (count((array)$tombstones) > 0) :

 

举报

相关推荐

0 条评论