NeatPlates

NeatPlates

7M Downloads

Infinite Errors: Attempt to call field SetSubText

Accendor opened this issue ยท 2 comments

commented

Basically impossible to use the addon atm for me :(

Message: Interface\AddOns\NeatPlates\NeatPlatesCore.lua:1432: attempt to call field 'SetSubText' (a nil value)
Time: Mon Dec 2 19:08:37 2019
Count: 9742
Stack: Interface\AddOns\NeatPlates\NeatPlatesCore.lua:1432: attempt to call field 'SetSubText' (a nil value)
Interface\AddOns\NeatPlates\NeatPlatesCore.lua:1432: in function <Interface\AddOns\NeatPlates\NeatPlatesCore.lua:1430>
Interface\AddOns\NeatPlates\NeatPlatesCore.lua:349: in function <Interface\AddOns\NeatPlates\NeatPlatesCore.lua:337>
Interface\AddOns\NeatPlates\NeatPlatesCore.lua:372: in function <Interface\AddOns\NeatPlates\NeatPlatesCore.lua:360>
Interface\AddOns\NeatPlates\NeatPlatesCore.lua:497: in function <Interface\AddOns\NeatPlates\NeatPlatesCore.lua:487>
Interface\AddOns\NeatPlates\NeatPlatesCore.lua:179: in function <Interface\AddOns\NeatPlates\NeatPlatesCore.lua:156>

Locals: index = nil
unitSubtext = nil
unitPlateStyle = nil
(*temporary) = nil
(*temporary) =

{
guid = "Creature-0-1631-1643-7532-129869-00006540E0"
isMouseover = false
class = ""
rawName = "Hungry Rooter"
threatSituation = "LOW"
red = 0.999998
levelcolorRed = 1
unitid = "nameplate1"
isPet = false
name = "Hungry Rooter"
pvpname = "Hungry Rooter"
levelcolorBlue = 0
isBoss = false
isFocus = false
healthmax = 53170
isTarget = false
levelcolorGreen = 0.820000
isTapped = false
type = "NPC"
isCasting = false
isTrivial = false
isMini = false
level = 120
isInCombat = false
isMarked = false
reaction = "HOSTILE"
green = 0
isDangerous = false
threatValue = 0
health = 53170
blue = 0
}
(*temporary) = "attempt to call field 'SetSubText' (a nil value)"
style =
{
threatcolor =
{
}
customtext =
{
}
highlight =
{
}
eliteicon =
{
}
castborder =
{
}
mouseover =
{
}
focus =
{
}
healthborder =
{
}
subtext =
{
}
extrabar =
{
}
targetindicator_arrowleft =
{
}
spelltext =
{
}
target =
{
}
level =
{
}
targetindicator_arrowsides =
{
}
extraborder =
{
}
targetindicator_arrowtop =
{
}
targetindicator =
{
}
healthbar =
{
}
castbar =
{
}
targetindicator_arrowright =
{
}
threatborder =
{
}
skullicon =
{
}
raidicon =
{
}
spellicon =
{
}
durationtext =
{
}
name =
{
}
hitbox =
{
}
extratext =
{
}
frame =
{
}
rangeindicator =
{
}
castnostop =
{
}
}
activetheme =
{
threatcolor =
{
}
customtext =
{
}
highlight =
{
}
eliteicon =
{
}
castborder =
{
}
mouseover =
{
}
focus =
{
}
healthborder =
{
}
subtext =
{
}
extrabar =
{
}
targetindicator_arrowleft =
{
}
spelltext =
{
}
target =
{
}
level =
{
}
targetindicator_arrowsides =
{
}
extraborder =
{
}
targetindicator_arrowtop =
{
}
targetindicator =
{
}
healthbar =
{
}
castbar =
{
}
targetindicator_arrowright =
{
}
threatborder =
{
}
skullicon =
{
}
raidicon =
{
}
spellicon =
{
}
durationtext =
{
}
name =
{
}
hitbox =
{
}
extratext =
{
}
frame =
{
}
rangeindicator =
{
}
castnostop =
{
}
}
unit =
{
guid = "Creature-0-1631-1643-7532-129869-00006540E0"
isMouseover = false
class = ""
rawName = "Hungry Rooter"
threatSituation = "LOW"
red = 0.999998
levelcolorRed = 1
unitid = "nameplate1"
isPet = false
name = "Hungry Rooter"
pvpname = "Hungry Rooter"
levelcolorBlue = 0
isBoss = false
isFocus = false
healthmax = 53170
isTarget = false
levelcolorGreen = 0.820000
isTapped = false
type = "NPC"
isCasting = false
isTrivial = false
isMini = false
level = 120
isInCombat = false
isMarked

commented

For whatever reason indeed no theme was loaded, this solved it - thank you very much!
Might I suggest to handle this error with a customized error message instead if possible?

commented

The only point at which I can recreate this issue is when I have no themes loaded, and the error data seems to suggest the same. So I would recommend you double check that there are themes loaded in the addons section.