Uncaught exception 'Call to a member function getId() on null'. Inspect logs for more information.