Fatal error: Call to a member function toArray() on null in /home/inovacio/public_html/spin/repositories/TeamRepository.php on line 189