```$member_info``` is required by this method, I think you want ```isset($member_info['status']```