Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/controllers/PortfolioController.php:68 Stack trace: #0 /var/www/html/lib/Application.php(105): PortfolioController->albumAction() #1 /var/www/html/lib/Application.php(48): Application->callAction() #2 /var/www/html/index.php(41): Application->run() #3 {main} thrown in /var/www/html/controllers/PortfolioController.php on line 68