A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/gallery.php

Line Number: 98

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/gallery.php

Line Number: 114