
[BUG] bad argument #1 to 'SetScale'
Gendr opened this issue ยท 2 comments
Describe the bug
A clear and concise description of what the bug is. Add steps to reproduce the behavior if you can.
If applicable, add screenshots to help explain your problem.
Having a debuff.
Error Log
Please provide any lua error you encounter. Make sure you have error reporting enabled ingame ('/console scriptErrors 1'). Also consider using BugSack and BugGrabber.
1x DragonflightUI/Modules/Buffs.lua:728: bad argument #1 to 'SetScale' (Usage: self:SetScale(scale))
[string "=[C]"]: in function `SetScale'
[string "@DragonflightUI/Modules/Buffs.lua"]:728: in function <DragonflightUI/Modules/Buffs.lua:723>
[string "=[C]"]: in function `DebuffButton_UpdateAnchors'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:156: in function <...faceBlizzard_BuffFrame/Classic/BuffFrame.lua:120>
[string "=[C]"]: in function `AuraButton_Update'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:100: in function `BuffFrame_Update'
[string "@Blizzard_SettingsDefinitions_Frame/Classic/InterfaceOverrides.lua"]:103: in function <...ingsDefinitions_Frame/Classic/InterfaceOverrides.lua:102>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_SharedXMLBase/CvarUtil.lua"]:114: in function <Blizzard_SharedXMLBase/CvarUtil.lua:106>
Locals:
(*temporary) = DebuffButton1 {
symbol = FontString {
}
parent = BuffFrame {
}
duration = DebuffButton1Duration {
}
unit = "player"
timeMod = 1
count = DebuffButton1Count {
}
filter = "HARMFUL"
expirationTime = 9780.393000
offsetY = 60
timeLeft = 266.143000
DFIconBorder = DragonflightUIIconBorder {
}
}
(*temporary) = nil
Versions (please complete the following information):
- WoW: [e.g. Cata classic, Era/SoD, Wrath classic (chinese?)]
- Addon [e.g. v0.12.1]
Cata Classic
Additional context
Add any other context about the problem here.
I think you either have some corrupt setting for debuffs, so you should go into the options Dragonflight > Debuffs and set them to default, or you have some other addon/WA creating an error, so that the Module state isnt working correctly (one clear sign would be greyed out settings in the Dragonflight config screen).
This is the code around the error:
The error says something about the SetScale in line 8, 'bad argument', which probably means the state (your settings) is nil, which most likely happend from an error earlier.