Fatal error: Uncaught Error: Call to a member function getId() on null in /home/notificator/public_html/notification/src/Controller/NotificationsController.php:176 Stack trace: #0 /home/notificator/public_html/notification/web/index.php(39): NotificationsController->newNotification() #1 {main} thrown in /home/notificator/public_html/notification/src/Controller/NotificationsController.php on line 176