为何出现这个异常:ErrorException in Builder.php line 1231: count(): Parameter must be an array or an object that implements Countable
Closed this issue · 1 comments
RyneHuang commented
at HandleExceptions->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', '/home/vagrant/Code/zhihu-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php', '1231', array('scope' => array(object(Question), 'scopePublished'), 'parameters' => array(object(Builder)), 'query' => object(Builder)))
GeekGhc commented