Error after prepatch: "EditModeSystemTemplates.lua:631: attempt to perform arithmetic"

I’m getting this UI error every time I log in and intiate combat, PvE or PvP battlegrounds, any area. (I’ve pasted the error text below.)

What’s happening
It occurs when i e.g. zone into a BG, the massive lua error appears midscreen - if i click to reload UI it seems to fix it (until i log out of the client and log back in, where it crops back up). or if i click the x to close the lua error, within a few seconds of combat it pops up again.
I’m running the client on an EU server, English langauge setting, nothing unusual.

What i’ve tried to fix it:
at first i thought it was an addon, disabled them, googled a bit and folk seem to suggest (from what ltitle i’ve found) that it’s an error with the new in game layout editor. attempting a fix as suggested (moving every single native UI element by a tiny amount then saving) didn’t help.


here is the error text in the lua error popup:

Message: Interface/FrameXML/EditModeSystemTemplates.lua:631: attempt to perform arithmetic on local ‘offsetY’ (a nil value)
Time: Sat Nov 5 11:02:45 2022
Count: 6
Stack: Interface/FrameXML/EditModeSystemTemplates.lua:631: attempt to perform arithmetic on local ‘offsetY’ (a nil value)
[string “@Interface/FrameXML/EditModeSystemTemplates.lua”]:631: in function GetBottomAnchoredHeight' [string "@Interface/FrameXML/EditModeUtil.lua"]:39: in function GetBottomActionBarHeight’
[string “@Interface/FrameXML/UIParent.lua”]:3074: in function UIParentManageFramePositions' [string "@Interface/FrameXML/UIParent.lua"]:2561: in function <Interface/FrameXML/UIParent.lua:2548> [string "=[C]"]: in function SetAttribute’
[string “@Interface/FrameXML/UIParent.lua”]:3104: in function UIParent_ManageFramePositions' [string "@Interface/FrameXML/EditModeManager.lua"]:641: in function <Interface/FrameXML/EditModeManager.lua:608> [string "=[C]"]: in function UpdateBottomActionBarPositions’
[string “@Interface/FrameXML/EditModeManager.lua”]:555: in function UpdateActionBarLayout' [string "@Interface/FrameXML/EditModeSystemTemplates.lua"]:655: in function UpdateGridLayout’
[string “@Interface/FrameXML/ActionButton.lua”]:373: in function UpdateAction' [string "@Interface/FrameXML/ActionButton.lua"]:803: in function OnEvent’
[string “@Interface/FrameXML/ActionButton.lua”]:216: in function <Interface/FrameXML/ActionButton.lua:213>

Locals: self = MainMenuBar {
0 =
QuickKeybindRightShadow = Texture {
}
UpdateSystemSettingAlwaysShowButtons = defined @Interface/FrameXML/EditModeSystemTemplates.lua:772
UpdateMagnetismRegistration = defined @Interface/FrameXML/EditModeSystemTemplates.lua:506
GetSnapOffsets = defined @Interface/FrameXML/EditModeSystemTemplates.lua:411
UpdateFrameStrata = defined @Interface/FrameXML/ActionBar.lua:194
UpdateButtonArt = defined @Interface/FrameXML/EditModeSystemTemplates.lua:669
IsFrameAnchoredToMe = defined @Interface/FrameXML/EditModeSystemTemplates.lua:469
buttonTemplate = “MainBarActionBarButtonTemplate”
ShowBase = defined =[C]:-1
IsShown = defined @Interface/FrameXML/ActionBar.lua:286
GetSelectionOffset = defined @Interface/FrameXML/EditModeSystemTemplates.lua:363
ResetToDefaultPosition = defined @Interface/FrameXML/EditModeSystemTemplates.lua:148
RefreshButtonArt = defined @Interface/FrameXML/EditModeSystemTemplates.lua:662
GetScaledSelectionSides = defined @Interface/FrameXML/EditModeSystemTemplates.lua:355
SelectSystem = defined @Interface/FrameXML/EditModeSystemTemplates.lua:534
buttonArtDirty = false
GetFrameMagneticEligibility = defined @Interface/FrameXML/EditModeSystemTemplates.lua:489
AddLayoutChildren = defined @Interface/SharedXML/LayoutFrame.lua:48
IsBelowFrame = defined @Interface/FrameXML/EditModeSystemTemplates.lua:322
UpdateSystemSettingIconSize = defined @Interface/FrameXML/EditModeSystemTemplates.lua:714
SetScaleBase = defined =[C]:-1
HasActiveChanges = defined @Interface/FrameXML/EditModeSystemTemplates.lua:244
GetScaledCenter = defined @Interface/FrameXML/EditModeSystemTemplates.lua:348
DoesSettingDisplayValueEqual = defined @Interface/FrameXML/EditModeSystemTemplates.lua:268
OnLoad = defined @Interface/FrameXML/MainMenuBar.lua:6
UpdateDisplayInfoOptions = defined @Interface/FrameXML/EditModeSystemTemplates.lua:279
ActionBarPageNumber = Frame {
}
settingDisplayInfoMap = {
}
addSystemIndexToName = true
IsLayoutFrame = defined @Interface/SharedXML/LayoutFrame.lua:36
DoesSettingValueEqual = defined @Interface/FrameXML/EditModeSystemTemplates.lua:263
MarkDirty = defined @Interface/SharedXML/LayoutFrame.lua:90
ShouldResetSettingsDialogAnchors = defined @In

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.