tukui-org / ElvUI

User Interface replacement AddOn for World of Warcraft.
https://tukui.org
Other
398 stars 137 forks source link

Lua Error #1127

Closed voidposterzsx closed 7 months ago

voidposterzsx commented 7 months ago

Troubleshooting Steps

image

Describe the expected behavior and what actually happened?

The expected behaviour is that i click on myself and i target myself, this does happen and works but the error popping up is very frustrating to deal with as i need to reload my UI everytime

EDIT: i realised my Elvui was out of date, I have since updated and I am still having the issue.

Reproducing the issue.

Click on my healthbar as displayed on the left

Lua Errors

Message: Interface/AddOns/ElvUI/Core/General/Cooldowns.lua:81: bad argument #3 to 'SetFormattedText' (string expected, got nil)
Time: Mon Dec  4 08:27:23 2023
Count: 1
Stack: Interface/AddOns/ElvUI/Core/General/Cooldowns.lua:81: bad argument #3 to 'SetFormattedText' (string expected, got nil)
[string "=[C]"]: ?
[string "=[C]"]: in function `SetFormattedText'
[string "@Interface/AddOns/ElvUI/Core/General/Cooldowns.lua"]:81: in function `Cooldown_OnUpdate'
[string "@Interface/AddOns/ElvUI/Core/General/Cooldowns.lua"]:128: in function `Cooldown_TimerUpdate'
[string "@Interface/AddOns/ElvUI/Core/General/Cooldowns.lua"]:254: in function <Interface/AddOns/ElvUI/Core/General/Cooldowns.lua:229>
[string "=[C]"]: in function `SetCooldown'
[string "@Interface/AddOns/ElvUI_Libraries/Core/LibActionButton-1.0/LibActionButton-1.0.lua"]:1769: in function <...ies/Core/LibActionButton-1.0/LibActionButton-1.0.lua:1755>
[string "@Interface/AddOns/ElvUI_Libraries/Core/LibActionButton-1.0/LibActionButton-1.0.lua"]:1525: in function <...ies/Core/LibActionButton-1.0/LibActionButton-1.0.lua:1464>
[string "=[C]"]: in function `TargetUnit'
[string "@Interface/FrameXML/SecureTemplates.lua"]:523: in function `handler'
[string "@Interface/FrameXML/SecureTemplates.lua"]:690: in function <Interface/FrameXML/SecureTemplates.lua:672>
[string "@Interface/FrameXML/SecureTemplates.lua"]:704: in function <Interface/FrameXML/SecureTemplates.lua:697>
[string "@Interface/FrameXML/SecureTemplates.lua"]:779: in function <Interface/FrameXML/SecureTemplates.lua:764>

Locals: (*temporary) = <function> defined =[C]:-1

Verification Steps

1Botanica1 commented 7 months ago

This error is from having Redtuzk UI installed at some point which has caused an error in the CD module (or imported someone’s profile that had it).

You can try ElvUI - Profiles - Module Reset Reset the Cooldown module

Hopefully that should work, if it doesnt, you will need to create a new profile.

voidposterzsx commented 7 months ago

Resetting fixed my issue thank you for the help!