Access Denied

Error - Trying to get property 'id' of non-object