Warning: count(): Parameter must be an array or an object that implements Countable
Remove count
and return
direct $model->getConditions()
add print_r
and check what result you are getting. You will know what you have to do after that
Remove count
and return
direct $model->getConditions()
add print_r
and check what result you are getting. You will know what you have to do after that