Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
JARVIS-AI opened this issue Nov 5, 2024 · 1 comment
Closed

Comments

@JARVIS-AI
Copy link

JARVIS-AI commented Nov 5, 2024

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 ...

@JARVIS-AI JARVIS-AI changed the title ATT Cata Classic - Stack Trace error after 5th Nov 2024 Update ATT Cata Classic - Stack Trace error after 5th Nov 2024 Latest Update Nov 5, 2024
@NORPG
Copy link
Member

NORPG commented Nov 5, 2024

#1833
it will be fixed in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants