Gladius - Dragonflight

Gladius - Dragonflight

5M Downloads

unit not defined

Taslock opened this issue ยท 0 comments

commented

lately this error seems to popup quite frequently ... maybe you can fix :-)
ty

6x Gladius/Modules/Racial.lua:346: attempt to index field '?' (a nil value)
[string "@Gladius/Modules/Racial.lua"]:346: in function `?'
[string "@Gladius/Gladius.lua"]:68: in function `Call'
[string "@Gladius/Gladius.lua"]:777: in function `ShowUnit'
[string "@Gladius/Gladius.lua"]:507: in function `?'
[string "@Gladius/Gladius.lua"]:51: in function <Gladius/Gladius.lua:43>

Locals:
self = <table> {
 UpdateRacial = <function> defined @Gladius/Modules/Racial.lua:197
 messages = <table> {
 }
 Enable = <function> defined @Gladius/Gladius.lua:127
 AutoFixAll = <function> defined @Gladius/Modules/Racial.lua:126
 GetRacialCD = <function> defined @Gladius/Modules/Racial.lua:190
 UpdateColors = <function> defined @Gladius/Modules/Racial.lua:239
 CreateFrame = <function> defined @Gladius/Modules/Racial.lua:220
 enabled = true
 UNIT_NAME_UPDATE = <function> defined @Gladius/Modules/Racial.lua:113
 eventHandler = Frame {
 }
 GetOptions = <function> defined @Gladius/Modules/Racial.lua:401
 attachTo = true
 name = "Racial"
 IsEnabled = <function> defined @Gladius/Gladius.lua:143
 Disable = <function> defined @Gladius/Gladius.lua:135
 RegisterMessage = <function> defined @Gladius/Gladius.lua:147
 Update = <function> defined @Gladius/Modules/Racial.lua:243
 isBarOption = false
 templates = <table> {
 }
 SendMessage = <function> defined @Gladius/Gladius.lua:151
 UNIT_AURA = <function> defined @Gladius/Modules/Racial.lua:141
 OnDisable = <function> defined @Gladius/Modules/Racial.lua:94
 GetAttachTo = <function> defined @Gladius/Modules/Racial.lua:101
 OptionsLoad = <function> defined @Gladius/Modules/Racial.lua:390
 RegisterEvent = <function> defined @Gladius/Gladius.lua:112
 IsDetached = <function> defined @Gladius/Modules/Racial.lua:105
 UNIT_SPELLCAST_SUCCEEDED = <function> defined @Gladius/Modules/Racial.lua:158
 defaults = <table> {
 }
 GetFrame = <function> defined @Gladius/Modules/Racial.lua:109
 OnEnable = <function> defined @Gladius/Modules/Racial.lua:84
 UnregisterAllEvents = <function> defined @Gladius/Gladius.lua:123
 Show = <function> defined @Gladius/Modules/Racial.lua:343
 Test = <function> defined @Gladius/Modules/Racial.lua:381
 frame = <table> {
 }
 UnregisterEvent = <function> defined @Gladius/Gladius.lua:119
 Reset = <function> defined @Gladius/Modules/Racial.lua:359
}
unit = "arena4"
testing = false
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
Gladius = <table> {
 GetColorOption = <function> defined @Gladius/Options.lua:149
 defaults = <table> {
 }
 testCount = 0
 instanceType = "arena"
 OnInitialize = <function> defined @Gladius/Gladius.lua:225
 NewModule = <function> defined @Gladius/Gladius.lua:100
 EnableModule = <function> defined @Gladius/Gladius.lua:196
 modules = <table> {
 }
 GetModule = <function> defined @Gladius/Gladius.lua:210
 ARENA_PREP_OPPONENT_SPECIALIZATIONS = <function> defined @Gladius/Gladius.lua:523
 UpdateColors = <function> defined @Gladius/Gladius.lua:562
 CreateButton = <function> defined @Gladius/Gladius.lua:852
 anchor = GladiusButtonAnchor {
 }
 UNIT_NAME_UPDATE = <function> defined @Gladius/Gladius.lua:469
 UpdateFrame = <function> defined @Gladius/Gladius.lua:543
 OnProfileChanged = <function> defined @Gladius/Gladius.lua:390
 eventHandler = Frame {
 }
 background = GladiusButtonBackground {
 }
 buttons = <table> {
 }
 UNIT_HEALTH = <function> defined @Gladius/Gladius.lua:941
 GetUnitFrame = <function> defined @Gladius/Gladius.lua:961
 LSM = <table> {
 }
 test = false
 UnregisterAllEvents = <function> defined @Gladius/Gladius.lua:96
 SetTemplate = <function> defined @Gladius/Options.lua:54
 DisableModule = <function> de