Classic Support
karai17 opened this issue ยท 3 comments
I get the following error with version 1.4 (TOC 11200), which worked for wow "vanilla" client 1.12:
Error occured in: Global
Count: 1
Message: ..\AddOns\Outfitter\Outfitter.lua line 563:
attempt to call global 'TEXT' (a nil value)
Debug:
[C]: TEXT()
Outfitter\Outfitter.lua:563: in main chunk
Locals:
That's this snippet from the Outfitter.lua:
StaticPopupDialogs["OUTFITTER_CONFIRM_DELETE"] =
{
text = TEXT(Outfitter_cConfirmDeleteMsg),
button1 = TEXT(DELETE),
button2 = TEXT(CANCEL),
OnAccept = function() Outfitter_DeleteSelectedOutfit(); end,
timeout = 0,
whileDead = 1,
hideOnEscape = 1
};
changing TEXT
to loadstring
results in this:
Error occured in: Global
Count: 1
Message: [string "OutfitterItem0OutfitMenu:OnLoad"] line 1:
attempt to index global 'this' (a nil value)
Debug:
[C]: ?
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1
This appears to be in the XML file. I have no experience with how addons are made, though - I'm just trying to interpret the syntax.