Well GetGuildRosterInfo (and other API that rely on a roundtrip to server for information) don't always provide valid data early in the loading process.
You can either monitor GUILD_ROSTER_UPDATE or check that name is not _G.UNKNOWNOBJECT and level return is valid before trying to use the returns.
This is all assuming the addon doesn't try to call GetGuildRosterInfo on an unguilded character.
|