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