Severity: Notice
Message: Trying to get property 'public' of non-object
Filename: controllers/event.php
Line Number: 151