[Error] Call to a member function getId() on null (0) /home/admin/sites/emi-school.ru/1/events/index.php:12