Class Colors Enabled = Errors Upon Joining a New Group
hooplah64 opened this issue · 7 comments
Description
When using Class Colors (ToxiUI > Gradient Mode > Class Colors) and I join a new group, a flurry of UI errors occurs until I do /reloadui. I'm also unable to see other elements in unit frames (for example, I'm a healer, so I can no longer see the little square indicators for HoTs or support buff indicators on party frames) or even sometimes the real-time health value of the party members (health value is frozen).
SIDE NOTE: I've tried disabling Class Colors to avoid the error, but for some reason, the Evoker class color is completely broken in my UI in all instances when this feature is disabled. So in Unit Frames, Details, etc, Evokers show up as a purple color (I believe it's the same hue as a player pet would have) as opposed to their proper class color. Also want to note that the above UI error occurs in all groups, not just when Evokers are present, so unsure how/if the two issues are related.
Screenshots
Notes
None at this time.
To reproduce
Enable Class Colors and join a new group.
Acceptance criteria
Error data from bugsack:
43977x ElvUI_ToxiUI/Core/Functions/Core.lua:114: attempt to perform arithmetic on local 'a' (a nil value)
[string "@ElvUI_ToxiUI/Core/Functions/Core.lua"]:114: in function AlmostEqual' [string "@ElvUI_ToxiUI/Core/Functions/Color.lua"]:10: in function
EqualToRGB'
[string "@ElvUI_ToxiUI/Modules/Themes/Gradients/Update.lua"]:13: in function SetGradientColors' [string "@ElvUI_ToxiUI/Modules/Themes/Gradients/Power.lua"]:28: in function <...dOns/ElvUI_ToxiUI/Modules/Themes/Gradients/Power.lua:15> [string "=(tail call)"]: ? [string "=(tail call)"]: ? [string "@ElvUI_Libraries/Core/oUF/elements/power.lua"]:196: in function <...eElvUI_Libraries/Core/oUF/elements/power.lua:119> [string "@ElvUI_Libraries/Core/oUF/elements/power.lua"]:208: in function <...eElvUI_Libraries/Core/oUF/elements/power.lua:200> [string "@ElvUI_Libraries/Core/oUF/elements/power.lua"]:273: in function
func'
[string "@ElvUI_Libraries/Core/oUF/ouf.lua"]:236: in function <ElvUI_Libraries/Core/oUF/ouf.lua:219>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
Locals:
a = nil
b = 0.247059
(*temporary) = defined =[C]:-1
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'a' (a nil value)"
abs = defined =[C]:-1
Considering I always play with enabled Gradient Mode, I've never seen this error. Just to be sure, did you update the whole ElvUI, including the ElvUI_Libraries folder? If so, could you, please, provide an updated error log? Because trying to backtrace the bug using your original log, I'm running into commented part of ElvUI_Libraries/Core/oUF/ouf.lua:219
.
Just to be sure, can you provide a screenshot of ElvUI_Libraries/Core/oUF/ouf.lua
around line 219?
See comment on #44 (comment)