ALL THE THINGS

ALL THE THINGS

31M Downloads

ATT Cata Classic - Stack Trace error after 5th Nov 2024 Latest Update

JARVIS-AI opened this issue · 1 comments

commented

Game Flavor (please complete the following information):

  • Flavor: Cataclysm

Describe the bug
I will share stack trace

To Reproduce
Updated from Curseforge
Login to game
Login to character
ERROR

Additional context

...ace/AddOns/AllTheThings/src/Classes/Item.Classic.lua:70: bad argument #1 to 'ipairs' (table expected, got number)

[string "=[C]"]: ?
[string "@Interface/AddOns/AllTheThings/src/Classes/Item.Classic.lua"]:70: in function <...ace/AddOns/AllTheThings/src/Classes/Item.Classic.lua:56>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/src/Classes/Item.Classic.lua"]:186: in function <...ace/AddOns/AllTheThings/src/Classes/Item.Classic.lua:185>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:70: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:29>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:120: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:103>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:48: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:29>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:120: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:103>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:48: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:29>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:120: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:103>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:48: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:29>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:120: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:103>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:1270: in function `DefaultUpdate'
[string "@Interface/AddOns/AllTheThings/src/UI/Windows/Prime.lua"]:50: in function <...terface/AddOns/AllTheThings/src/UI/Windows/Prime.lua:49>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:1768: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:1766>
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:1322: in function `Update'
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:1330: in function `UpdateWindows'
[string "@Interface/AddOns/AllTheThings/src/UI/Classic Window Logic.lua"]:1377: in function <.../AddOns/AllTheThings/src/UI/Classic Window Logic.lua:1352>

Explain :

The error message indicates that in Item.Classic.lua at line 70, ipairs received a number when it expected a table. This typically happens if ipairs is applied to a variable that’s unexpectedly holding a numeric value.

Add a check just before line 70 to confirm someVariable is a table:

Copy code
if type(someVariable) ~= "table" then
    print("Error: Expected table, got ", type(someVariable), someVariable)
    return
end

Let me know if needs more tracing ...

commented

#1833
it will be fixed in next release.