ActionbarPlus

ActionbarPlus

78.7k Downloads

Bug Fix: Item Lua Error

nfet opened this issue ยท 0 comments

commented

Describe the bug
Message: ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:466: attempt to index field 'item' (a nil value)

Error

Message: ...ctionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:466: attempt to index field 'item' (a nil value)
Time: Wed Mar  1 12:43:24 2023
Count: 34
Stack: ...ctionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:466: attempt to index field 'item' (a nil value)
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua"]:466: in function `UpdateItemState'
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua"]:502: in function `UpdateState'
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua"]:530: in function <...ctionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:530>

Locals: self = <table> {
 IsInvalidSpell = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:284
 SetActionUsable = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:847
 IsValidItemProfile = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:893
 IsOverrideKeyDown = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:266
 SetButtonStateNormal = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:676
 GuessButtonType = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:103
 SetVertexColorNormal = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:627
 SetNormalIconAlpha = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:626
 IsMacro = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:204
 SetButtonProperties = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:84
 GetBindings = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:302
 IsBattlePet = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:217
 UpdateStateDelayed = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:530
 buttonAttributes = <table> {
 }
 GetCooldownInfo = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:349
 IsTooltipModifierKeyDown = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:252
 RegisterMessage = <function> defined @Interface/AddOns/ActionbarPlus/Core/ExtLib/WowAce/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
 UnregisterMessage = <function> defined @Interface/AddOns/ActionbarPlus/Core/ExtLib/WowAce/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
 IsUsableSpell = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:861
 IsConfigOfType = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:246
 SetIcon = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:884
 dragFrame = <table> {
 }
 HideEmptyGridEvent = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:659
 logger = <table> {
 }
 ShowEmptyGridEvent = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:646
 GetButtonAttributes = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:275
 GetSpellCooldown = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:371
 IsUsableMacro = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:877
 SetButtonAttributes = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:66
 events = <table> {
 }
 InitWidget = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:78
 SetCo