WeakAuras

WeakAuras

206M Downloads

GetAddOnMetadata error on login

netnusa opened this issue ยท 3 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

will receive lua errors until I manually update GetAddOnMetaData in Init.lua to the current 10.1 version of C_AddOns.GetAddOnMetadata

WeakAuras Version

WeakAuras 5.5.2

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

  • Yes

Lua Error

6x WeakAuras/Init.lua:299: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@WeakAuras/Init.lua"]:299: in main chunk

Locals:
AddonName = "WeakAuras"
Private = <table> {
 Archivist = <table> {
 }
 frames = <table> {
 }
}
(*temporary) = nil
(*temporary) = "WeakAuras"
(*temporary) = "Version"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"

Reproduction Steps

I get it every login since 10.1 and Weakauras doesn't function. The only way to avoid this is to either disable WA or manually edit the Init.lua.

Last Good Version

No response

Screenshots

No response

Export String

No response

commented

Can you try running these commands in chat?

/run EnableAddOn("Blizzard_Deprecated", true)
/reload
commented

We are pretty sure that's on your end.
The Blizzard_Deprecated addon which can't be disabled provides that function, see:
https://github.com/Gethe/wow-ui-source/blob/live/Interface/AddOns/Blizzard_Deprecated/Deprecated_10_1_0.lua

commented

That did it! No idea how it was disabled since running /dump IsAddOnLoaded("Blizzard_Deprecated") prior to returned false.. Any thoughts?