This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello!Yesterday the addon worked fine, today I logged in to this:
<p>1x ...ddOns/WeakAuras/Libs/LibDBIcon-1.0-50/LibDBIcon-1.0.lua:400: attempt to index local 'button' (a nil value)<br />[string "@WeakAuras/Libs/LibDBIcon-1.0-50/LibDBIcon-1.0.lua"]:400: in function `Refresh'<br />[string "@ElkBuffBars/ElkBuffBars.lua"]:385: in function `OnProfileEnable'<br />[string "@ElkBuffBars/ElkBuffBars.lua"]:305: in function <ElkBuffBars/ElkBuffBars.lua:304><br />[string "=[C]"]: ?<br />[string "@Alts/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...rfaceAlts/Libs/AceAddon-3.0/AceAddon-3.0.lua:61><br />[string "@Alts/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'<br />[string "@Alts/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...rfaceAlts/Libs/AceAddon-3.0/AceAddon-3.0.lua:611><br />[string "=[C]"]: ?<br />[string "=[C]"]: in function `LoadAddOn'<br />[string "@FrameXML/UIParent.lua"]:545: in function `UIParentLoadAddOn'<br />[string "@FrameXML/UIParent.lua"]:754: in function `MajorFactions_LoadUI'<br />[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:100: in function `SetUpMajorFactionList'<br />[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:93: in function `RefreshMajorFactionList'<br />[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:88: in function `RefreshOverlay'<br />[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:80: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:76><br />[string "=[C]"]: ?<br />[string "=[C]"]: in function `CreateFrame'<br />[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function `CreateOverlay'<br />[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:63: in function `RefreshExpansionOverlay'<br />[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:35: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:33></p> <p>Locals:<br />self = <table> {<br /> Register = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:350<br /> callbacks = <table> {<br /> }<br /> Unlock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:368<br /> IsButtonInCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:483<br /> Lock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:356<br /> ShowOnEnter = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:442<br /> SetButtonToPosition = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:475<br /> SetButtonRadius = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:466<br /> UnregisterAllCallbacks = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164<br /> notCreated = <table> {<br /> }<br /> radius = 5<br /> GetMinimapButton = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:417<br /> RemoveButtonFromCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:512<br /> IsRegistered = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:393<br /> tooltip = LibDBIconTooltip {<br /> }<br /> AddButtonToCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:491<br /> RegisterCallback = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80<br /> Show = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:385<br /> GetButtonList = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:458<br /> UnregisterCallback = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143<br /> Refresh = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:397<br /> objects = <table> {<br /> }<br /> callbackRegistered = true<br /> Hide = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:380<br /> IconCallback = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:24<br />}<br />name = "ElkBuffBars"<br />db = <table> {<br /> minimapPos = 314.999927<br /> hide = true<br />}<br />button = nil<br />(*temporary) = nil<br />(*temporary) = nil<br />(*temporary) = nil<br />(*temporary) = nil<br />(*temporary) = "attempt to index local 'button' (a nil value)"<br />lib = <table> {<br /> Register = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:350<br /> callbacks = <table> {<br /> }<br /> Unlock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:368<br /> IsButtonInCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:483<br /> Lock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:356<br /> ShowOnEnter = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:442<br /> SetButtonToPosition = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:475<br /> SetButtonRadius = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:466<br /> UnregisterAllCallbacks = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164<br /> notCreated = <table> {<br /> }<br /> radius = 5<br /> GetMinimapButton = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:417<br /> RemoveButtonFromCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:512<br /> IsRegistered = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:393<br /> tooltip = LibDBIconTooltip {<br /> }<br /> AddButtonToCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:491<br /> RegisterCallback = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80<br /> Show = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:385<br /> GetButtonList = <function> defined @Wea</p>
1x ...ddOns/WeakAuras/Libs/LibDBIcon-1.0-50/LibDBIcon-1.0.lua:400: attempt to index local 'button' (a nil value)[string "@WeakAuras/Libs/LibDBIcon-1.0-50/LibDBIcon-1.0.lua"]:400: in function `Refresh'[string "@ElkBuffBars/ElkBuffBars.lua"]:385: in function `OnProfileEnable'[string "@ElkBuffBars/ElkBuffBars.lua"]:305: in function <ElkBuffBars/ElkBuffBars.lua:304>[string "=[C]"]: ?[string "@Alts/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...rfaceAlts/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>[string "@Alts/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'[string "@Alts/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...rfaceAlts/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>[string "=[C]"]: ?[string "=[C]"]: in function `LoadAddOn'[string "@FrameXML/UIParent.lua"]:545: in function `UIParentLoadAddOn'[string "@FrameXML/UIParent.lua"]:754: in function `MajorFactions_LoadUI'[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:100: in function `SetUpMajorFactionList'[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:93: in function `RefreshMajorFactionList'[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:88: in function `RefreshOverlay'[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:80: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:76>[string "=[C]"]: ?[string "=[C]"]: in function `CreateFrame'[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function `CreateOverlay'[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:63: in function `RefreshExpansionOverlay'[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:35: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:33>
Locals:self = <table> { Register = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:350 callbacks = <table> { } Unlock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:368 IsButtonInCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:483 Lock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:356 ShowOnEnter = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:442 SetButtonToPosition = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:475 SetButtonRadius = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:466 UnregisterAllCallbacks = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164 notCreated = <table> { } radius = 5 GetMinimapButton = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:417 RemoveButtonFromCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:512 IsRegistered = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:393 tooltip = LibDBIconTooltip { } AddButtonToCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:491 RegisterCallback = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80 Show = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:385 GetButtonList = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:458 UnregisterCallback = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143 Refresh = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:397 objects = <table> { } callbackRegistered = true Hide = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:380 IconCallback = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:24}name = "ElkBuffBars"db = <table> { minimapPos = 314.999927 hide = true}button = nil(*temporary) = nil(*temporary) = nil(*temporary) = nil(*temporary) = nil(*temporary) = "attempt to index local 'button' (a nil value)"lib = <table> { Register = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:350 callbacks = <table> { } Unlock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:368 IsButtonInCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:483 Lock = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:356 ShowOnEnter = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:442 SetButtonToPosition = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:475 SetButtonRadius = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:466 UnregisterAllCallbacks = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164 notCreated = <table> { } radius = 5 GetMinimapButton = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:417 RemoveButtonFromCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:512 IsRegistered = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:393 tooltip = LibDBIconTooltip { } AddButtonToCompartment = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:491 RegisterCallback = <function> defined @Alts/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80 Show = <function> defined @WeakAuras/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:385 GetButtonList = <function> defined @Wea
quick fix ...
change code on line 385 of ElkBuffBars.lua:
LDBIcon:Refresh(ELKBUFFBARS, self.db.profile.minimap)
with:
if LDBIcon:IsRegistered(ELKBUFFBARS) then LDBIcon:Refresh(ELKBUFFBARS, self.db.profile.minimap) end
Thanks, I will try it!
It seems to be working now 🥳
It's a bug with LibDBIcon-1.0 v10.1.2 which is not correctly upgrading from older versions.
I forwarded that issue to its author and an updated version of that library should be in the wild soon.
To post a comment, please login or register a new account.