Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/courses.php
Line Number: 137
Line Number: 139