Example when playing a rogue while it has stat weights for a paladin loaded it is generating this error.
I'm on Season of Discovery if that helps.
6x AutoGear/AutoGear.lua:3240: attempt to call method 'WrapTextInColorCode' (a nil value)
[string "@AutoGear/AutoGear.lua"]:3240: in function AutoGearReadItemInfo' [string "@AutoGear/AutoGear.lua"]:2570: in functionAutoGearUpdateEquippedItems'
[string "@AutoGear/AutoGear.lua"]:1821: in function <AutoGear/AutoGear.lua:1813>
Can you try disabling all other addons and tell me if it still happens? I ask because I expect that this error should only happen if another addon has assigned WrapTextInColorCodenil, since it is expected to be available in the default UI.
Example when playing a rogue while it has stat weights for a paladin loaded it is generating this error. I'm on Season of Discovery if that helps.
6x AutoGear/AutoGear.lua:3240: attempt to call method 'WrapTextInColorCode' (a nil value) [string "@AutoGear/AutoGear.lua"]:3240: in function
AutoGearReadItemInfo' [string "@AutoGear/AutoGear.lua"]:2570: in function
AutoGearUpdateEquippedItems' [string "@AutoGear/AutoGear.lua"]:1821: in function <AutoGear/AutoGear.lua:1813>Locals: inventoryID = 16 lootRollID = nil container = nil slot = nil questRewardIndex = nil link = nil info =
The
WrapTextInColorCode
function is still available in SoD: https://www.townlong-yak.com/framexml/era/Color.lua#66Can you try disabling all other addons and tell me if it still happens? I ask because I expect that this error should only happen if another addon has assigned
WrapTextInColorCode
nil
, since it is expected to be available in the default UI.It is working when I disable all other addons
I'll report back if I find the addon that is causing this
Thanks for confirming. This is not an AutoGear issue, so when you find the addon causing it, please report the issue to that addon's author.
WeWantBlueShamans was causing the issue https://www.curseforge.com/wow/addons/wewantblueshamans
I am the author of https://www.curseforge.com/wow/addons/wewantblueshamans. Thanks for bringing up the issue. Since v1.06 I now create
ColorMixin
s withCreateColor
(https://github.com/XiconQoo/WeWantBlueShamans/blob/main/core.lua#L65), thus this nil error not being an issue anymore.