Trying to get property 'user_id' of non-object282