Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/vhosts/xagena.it/httpdocs/public/index.php:141 Stack trace: #0 [internal function]: {closure}('{{post.slug}}') #1 /var/www/vhosts/xagena.it/httpdocs/vendor/slim/slim/Slim/Router.php(172): call_user_func_array(Object(Closure), Array) #2 /var/www/vhosts/xagena.it/httpdocs/vendor/slim/slim/Slim/Slim.php(1222): Slim\Router->dispatch(Object(Slim\Route)) #3 /var/www/vhosts/xagena.it/httpdocs/vendor/slim/slim/Slim/Middleware/Flash.php(86): Slim\Slim->call() #4 /var/www/vhosts/xagena.it/httpdocs/vendor/slim/slim/Slim/Middleware/MethodOverride.php(94): Slim\Middleware\Flash->call() #5 /var/www/vhosts/xagena.it/httpdocs/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call() #6 /var/www/vhosts/xagena.it/httpdocs/vendor/slim/slim/Slim/Slim.php(1174): Slim\Middleware\PrettyExceptions->call() #7 /var/www/vhosts/xagena.it/httpdocs/public/index.php(231): Slim\Slim->run() #8 {main} thrown in /var/www/vhosts/xagena.it/httpdocs/public/index.php on line 141