Battle Pet BreedID

Battle Pet BreedID

5M Downloads

Errors Following 11.0.2 Update

swotam opened this issue ยท 2 comments

commented

Experiencing the following error after the 11.0.2 update even if no other addons are loaded:

4x BattlePetBreedID/BattlePetBreedID.lua:517: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@BattlePetBreedID/BattlePetBreedID.lua"]:517: in function <BattlePetBreedID/BattlePetBreedID.lua:460>

Locals:
self = BPBID_Events {
}
event = "ADDON_LOADED"
name = "BattlePetBreedID"
(*temporary) = "v1.29.1"
(*temporary) = nil
(*temporary) = "BattlePetBreedID"
(*temporary) = "Version"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"
addonname = "BattlePetBreedID"
internal =

{
cacheTime = true
resultsCache =
{
}
rarityCache =
{
}
MAX_BREEDS = 10
breedCache =
{
}
speciesCache =
{
}
}
PJHooked = false

commented

Changing GetAddOnMetadata to C_AddOns.GetAddOnMetadata on line 517 fixed it for me. I don't know if there are other issues but it shuts thats error up when the addon loads.

I can confirm that manually making this change to the existing BattlePetBreedID.lua resolves the issue

commented

Changing GetAddOnMetadata to C_AddOns.GetAddOnMetadata on line 517 fixed it for me. I don't know if there are other issues but it shuts thats error up when the addon loads.