What version of the game you are experiencing the issue with:
Retail
Describe the bug
Getting spammed by the following LUA error:
3631x NeatPlates/NeatPlatesCore.lua:1955: attempt to call field 'SetSubText' (a nil value)
[string "@NeatPlates/NeatPlatesCore.lua"]:1955: in function <NeatPlates/NeatPlatesCore.lua:1953>
[string "@NeatPlates/NeatPlatesCore.lua"]:654: in function <NeatPlates/NeatPlatesCore.lua:642>
[string "@NeatPlates/NeatPlatesCore.lua"]:678: in function <NeatPlates/NeatPlatesCore.lua:665>
[string "@NeatPlates/NeatPlatesCore.lua"]:810: in function <NeatPlates/NeatPlatesCore.lua:800>
[string "@NeatPlates/NeatPlatesCore.lua"]:380: in function <NeatPlates/NeatPlatesCore.lua:353>
I've pushed a new release to curseforge, it should be available shortly.
I only really fixed the issues with the new menu system that I never fully integrated previously, and is now required. So there could still be somethings that don't work. So I'd appreciated it if you bring any new issues you find to my attention so they also can be fixed.
391x bad argument #1 to '?' (not a numerical value - Usage: local inRange = C_SpellBook.IsSpellBookItemInRange(spellBookItem [, targetUnit]))
[string "=[C]"]: in function IsSpellBookItemInRange' [string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:89: in function <...akAuras/Libs/LibRangeCheck-3.0/LibRangeCheck-3.0.lua:88> [string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:573: in functionchecker'
[string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:786: in function <...akAuras/Libs/LibRangeCheck-3.0/LibRangeCheck-3.0.lua:781>
[string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:861: in function <...akAuras/Libs/LibRangeCheck-3.0/LibRangeCheck-3.0.lua:842>
[string "@NeatPlatesWidgets/RangeWidget.lua"]:67: in function <NeatPlatesWidgets/RangeWidget.lua:65>
[string "@NeatPlatesWidgets/RangeWidget.lua"]:173: in function UpdateContext' [string "@NeatPlatesHub/functions/Widgets.lua"]:721: in functionOnContextUpdate'
[string "@NeatPlates/NeatPlatesCore.lua"]:962: in function <NeatPlates/NeatPlatesCore.lua:947>
[string "@NeatPlates/NeatPlatesCore.lua"]:809: in function <NeatPlates/NeatPlatesCore.lua:800>
[string "@NeatPlates/NeatPlatesCore.lua"]:380: in function <NeatPlates/NeatPlatesCore.lua:353>
Locals:
(*temporary) = "bad argument #1 to '?' (not a numerical value - Usage: local inRange = C_SpellBook.IsSpellBookItemInRange(spellBookItem [, targetUnit]))"
I think it's something related to this issue in the library itself, I'll keep an eye out for a new release of this and push an update once it is available.
Seems it was actually fixed just as I mentioned it. So it shouldn't be spamming these errors now in the new version that should be available in a few minutes.
What version of the game you are experiencing the issue with: Retail
Describe the bug Getting spammed by the following LUA error:
3631x NeatPlates/NeatPlatesCore.lua:1955: attempt to call field 'SetSubText' (a nil value) [string "@NeatPlates/NeatPlatesCore.lua"]:1955: in function <NeatPlates/NeatPlatesCore.lua:1953> [string "@NeatPlates/NeatPlatesCore.lua"]:654: in function <NeatPlates/NeatPlatesCore.lua:642> [string "@NeatPlates/NeatPlatesCore.lua"]:678: in function <NeatPlates/NeatPlatesCore.lua:665> [string "@NeatPlates/NeatPlatesCore.lua"]:810: in function <NeatPlates/NeatPlatesCore.lua:800> [string "@NeatPlates/NeatPlatesCore.lua"]:380: in function <NeatPlates/NeatPlatesCore.lua:353>
Locals: index = nil unitSubtext = nil unitPlateStyle = nil (temporary) = nil (temporary) =
To Reproduce Nothing needed, it's constantly spammed.
Expected behavior There should be no errors.
Screenshots N/AIf applicable, add screenshots to help explain your problem.
Additional context N/A
I've pushed a new release to curseforge, it should be available shortly.
I only really fixed the issues with the new menu system that I never fully integrated previously, and is now required. So there could still be somethings that don't work. So I'd appreciated it if you bring any new issues you find to my attention so they also can be fixed.
New spam in 443:
391x bad argument #1 to '?' (not a numerical value - Usage: local inRange = C_SpellBook.IsSpellBookItemInRange(spellBookItem [, targetUnit])) [string "=[C]"]: in function
IsSpellBookItemInRange' [string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:89: in function <...akAuras/Libs/LibRangeCheck-3.0/LibRangeCheck-3.0.lua:88> [string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:573: in function
checker' [string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:786: in function <...akAuras/Libs/LibRangeCheck-3.0/LibRangeCheck-3.0.lua:781>[string "@WeakAuras/Libs/LibRangeCheck-3.0-19/LibRangeCheck-3.0.lua"]:861: in function <...akAuras/Libs/LibRangeCheck-3.0/LibRangeCheck-3.0.lua:842>
[string "@NeatPlatesWidgets/RangeWidget.lua"]:67: in function <NeatPlatesWidgets/RangeWidget.lua:65> [string "@NeatPlatesWidgets/RangeWidget.lua"]:173: in function
UpdateContext' [string "@NeatPlatesHub/functions/Widgets.lua"]:721: in function
OnContextUpdate' [string "@NeatPlates/NeatPlatesCore.lua"]:962: in function <NeatPlates/NeatPlatesCore.lua:947> [string "@NeatPlates/NeatPlatesCore.lua"]:809: in function <NeatPlates/NeatPlatesCore.lua:800> [string "@NeatPlates/NeatPlatesCore.lua"]:380: in function <NeatPlates/NeatPlatesCore.lua:353>Locals: (*temporary) = "bad argument #1 to '?' (not a numerical value - Usage: local inRange = C_SpellBook.IsSpellBookItemInRange(spellBookItem [, targetUnit]))"
hmm, I can't seem to replicate this issue myself. But it does seem to have something to do with the third-party library for range checking.
Could you try and disable weakauras and see if the issue persists or if it changes? Because even after having updated weakauras I cannot replicate it.
Also for what class did this issue occur? So it's not something class specific I'm missing.
Only WA enabled -> no error Only NP enabled -> no error both enabled -> error
I can 100% reproduce this on a hunter, will try on something else in a bit.
I was able to reproduce it now, I just had to restart the game fully after updating Weakauras for it to start giving me the same errors.
I think it's something related to this issue in the library itself, I'll keep an eye out for a new release of this and push an update once it is available.
https://github.com/WeakAuras/LibRangeCheck-3.0/issues/26
Seems it was actually fixed just as I mentioned it. So it shouldn't be spamming these errors now in the new version that should be available in a few minutes.
Thanks, it indeed went away. I will report here if anything else pops up.
Seems all good since. :)