Lua error
heyner88 opened this issue ยท 4 comments
Hi I'm getting this error every time I queue for raid, dungeon, only happens when NDui is enabled
Message: Interface/FrameXML/MainMenuBarMicroButtons.lua:1623: attempt to compare two nil values
Time: Sun Mar 31 10:25:45 2024
Count: 2
Stack: Interface/FrameXML/MainMenuBarMicroButtons.lua:1623: attempt to compare two nil values
[string "@Interface/FrameXML/MainMenuBarMicroButtons.lua"]:1623: in function GetEdgeButton' [string "@Interface/FrameXML/MainMenuBarMicroButtons.lua"]:1651: in function
UpdateHelpTicketButtonAnchor'
[string "@Interface/FrameXML/MainMenuBarMicroButtons.lua"]:1710: in function Layout' [string "@Interface/FrameXML/MainMenuBarMicroButtons.lua"]:1759: in function
Layout'
[string "@Interface/FrameXML/QueueStatusFrame.lua"]:276: in function <Interface/FrameXML/QueueStatusFrame.lua:268>
[string "=[C]"]: in function Show' [string "@Interface/FrameXML/QueueStatusFrame.lua"]:656: in function <Interface/FrameXML/QueueStatusFrame.lua:493> [string "=[C]"]: in function
Update'
[string "@Interface/FrameXML/QueueStatusFrame.lua"]:433: in function <Interface/FrameXML/QueueStatusFrame.lua:432>
Locals: self = MicroMenu {
IsLayoutFrame = defined @Interface/SharedXML/LayoutFrame.lua:36
GetEdgeButton = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1600
ShouldUpdateLayout = defined @Interface/SharedXML/LayoutFrame.lua:483
MarkDirty = defined @Interface/SharedXML/LayoutFrame.lua:99
SetHeightPadding = defined @Interface/SharedXML/LayoutFrame.lua:160
layoutFramesGoingRight = true
OnCleaned = defined @Interface/SharedXML/LayoutFrame.lua:131
isHorizontal = true
OnUpdate = defined @Interface/SharedXML/LayoutFrame.lua:93
GetAdditionalRegions = defined @Interface/SharedXML/LayoutFrame.lua:85
GetFixedSize = defined @Interface/SharedXML/LayoutFrame.lua:156
OnShow = defined @Interface/SharedXML/LayoutFrame.lua:32
GetHeightPadding = defined @Interface/SharedXML/LayoutFrame.lua:164
UpdateFramerateFrameAnchor = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1666
GetFixedWidth = defined @Interface/SharedXML/LayoutFrame.lua:148
dirty = false
stride = 12
GetWidthPadding = defined @Interface/SharedXML/LayoutFrame.lua:168
childYPadding = -5
SetScaleAdjustment = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1713
layoutFramesGoingUp = false
UpdateQueueStatusAnchors = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1656
SetFixedWidth = defined @Interface/SharedXML/LayoutFrame.lua:135
InitializeButtons = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1565
GetFixedHeight = defined @Interface/SharedXML/LayoutFrame.lua:152
MarkClean = defined @Interface/SharedXML/LayoutFrame.lua:117
CacheLayoutSettings = defined @Interface/SharedXML/LayoutFrame.lua:471
SetFixedSize = defined @Interface/SharedXML/LayoutFrame.lua:143
GetLayoutChildren = defined @Interface/SharedXML/LayoutFrame.lua:73
numButtons = 12
IsDirty = defined @Interface/SharedXML/LayoutFrame.lua:127
OnLoad = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1560
oldGridSettings =
}
Layout = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1703
SetFixedHeight = defined @Interface/SharedXML/LayoutFrame.lua:139
AnchorToMenuContainer = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1674
SetQueueStatusScale = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1695
0 =
UpdateHelpTicketButtonAnchor = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1634
AddButton = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:1591
MarkIgnoreInLayout = defined @Interface/SharedXML/LayoutFrame.lua:44
AddLayoutChildren = defined @Interface/SharedXML/LayoutFrame.lua:55
childXPadding = -5
IgnoreLayoutIndex
Thank you it seems it fine now ๐
Also i want to add as a side note that when the server name has more than one word like Emerald Dream the gold in the infobar doesn't show the gold for each char in the server for fix this I added the following code in the file Gold.lua at the line 25
local myRealm = myRealm:gsub(" ", "")
thank again your for your great work :)