Severity: Notice
Message: Trying to get property of non-object
Filename: models/api_model.php
Line Number: 65