Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/categories.php
Line Number: 34