A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: models/site_model.php

Line Number: 140