Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon.lua:15: attempt to call global 'GetAddOnMetadata' (a nil value) #9

Open
Ookami313 opened this issue Aug 15, 2024 · 2 comments
Open

Comments

@Ookami313
Copy link

Unsure if the addon is still being supported but I'm posting just in case. Update to 11.0.2 is causing errors to occur when logging in. Thanks.

5x HandyNotes_FieldPhotographer/Addon.lua:15: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@HandyNotes_FieldPhotographer/Addon.lua"]:15: in main chunk

Locals:
ADDON_NAME = "HandyNotes_FieldPhotographer"
HandyNotes =

{
modules =
{
}
plugins =
{
}
defaultModuleLibraries =
{
}
name = "HandyNotes"
orderedModules =
{
}
baseName = "HandyNotes"
db =
{
}
WorldMapDataProvider =
{
}
enabledState = true
defaultModuleState = true
}
ACHIEVEMENT_ID = 9924
ACHIEVEMENT_NAME = "Field Photographer"
(*temporary) = nil
(*temporary) = "HandyNotes_FieldPhotographer"
(*temporary) = "Title"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"

@yoshimo
Copy link

yoshimo commented Aug 15, 2024

just change GetAddOnMetadata to C_AddOns.GetAddOnMetadata 11.0.2 removed some deprecated calls.

@Dhragas
Copy link

Dhragas commented Aug 16, 2024

Also change:
GetAddOnMetadata → C_AddOns.GetAddOnMetadata
UnitBuff → C_UnitAuras.GetBuffDataByIndex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants