Nowy sterownik nie implementuje $cursor->count() użyj $collection->count() zamiast tego
$collection->count($filter)
w twoim przypadku:$filter = array('paid' => 'true')
Nowy sterownik nie implementuje $cursor->count() użyj $collection->count() zamiast tego
$collection->count($filter)
w twoim przypadku:$filter = array('paid' => 'true')