0 Call to a member function groupBy() on null