Lua Error on /rl / login
Harsesis89 opened this issue ยท 2 comments
Addon Version
v0.1.80
World of Warcraft Version
Retail
Describe the bug
When logging on or /rl the following error comes up:
Message: Interface/AddOns/BetterBags/frames/grid.lua:161: invalid order function for sorting
Time: Sat Jul 27 17:09:54 2024
Count: 1
Stack: Interface/AddOns/BetterBags/frames/grid.lua:161: invalid order function for sorting
[string "@Interface/AddOns/BetterBags/frames/grid.lua"]:161: in function Sort' [string "@Interface/AddOns/BetterBags/views/gridview.lua"]:247: in function
Render'
[string "@Interface/AddOns/BetterBags/frames/bag.lua"]:258: in function Draw' [string "@Interface/AddOns/BetterBags/core/init.lua"]:257: in function
cb'
[string "@Interface/AddOns/BetterBags/core/events.lua"]:50: in function <Interface/AddOns/BetterBags/core/events.lua:45>
[string "=[C]"]: ?
[string "@Interface/AddOns/ElvUI_Libraries/Core/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...ies/Core/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/ElvUI_Libraries/Core/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@Interface/AddOns/BetterBags/core/events.lua"]:186: in function <Interface/AddOns/BetterBags/core/events.lua:185>
Locals: self =
{view =
}
columns =
}
sortVertical = true
spacing = 4
cells =
}
maxCellWidth = 2
box = BetterBagsScrollGrid1 {
}
headers =
}
cellToColumn =
}
idToCell =
}
compactStyle = 0
inner = Frame {
}
frame = BetterBagsScrollGrid1 {
}
cellToID =
}
bar = Frame {
}
}
After the error, the bag is able open but only an empty frame is shown:
If you close the bag and wait a few seconds before opening it again, the bag contents are then shown.
This error occurs since updating to the latest version earlier today.
The following modules are installed.
Steps to reproduce
- Login or /rl
The root cause seems to be in https://www.curseforge.com/wow/addons/betterbags-gear-first
Disabling the plugin makes the error go away.
I raised an issue there too.