Got this error today

Message: Interface/FrameXML/EditModeSystemTemplates.lua:624: attempt to perform arithmetic on local ‘offsetY’ (a nil value)
Time: Fri Oct 28 13:56:24 2022
Count: 1
Stack: Interface/FrameXML/EditModeSystemTemplates.lua:624: attempt to perform arithmetic on local ‘offsetY’ (a nil value)
[string “@Interface/FrameXML/EditModeSystemTemplates.lua”]:624: in function GetBottomAnchoredHeight' [string "@Interface/FrameXML/EditModeUtil.lua"]:45: 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"]:646: in function <Interface/FrameXML/EditModeManager.lua:610> [string "=[C]"]: in function UpdateBottomActionBarPositions’
[string “@Interface/FrameXML/EditModeManager.lua”]:555: in function UpdateActionBarLayout' [string "@Interface/FrameXML/EditModeSystemTemplates.lua"]:648: in function UpdateGridLayout’
[string “@Interface/FrameXML/ActionBar.lua”]:346: in function UpdateVisibility' [string "@Interface/FrameXML/ActionBar.lua"]:313: in function HideOverride’
[string “@Interface/FrameXML/ActionBar.lua”]:298: in function SetShown' [string "@Interface/FrameXML/MultiActionBars.lua"]:35: in function <Interface/FrameXML/MultiActionBars.lua:30> [string "@Interface/FrameXML/MultiActionBars.lua"]:41: in function MultiActionBar_Update’
[string “@Interface/FrameXML/ActionBarController.lua”]:209: in function ValidateActionBarTransition' [string "@Interface/FrameXML/ActionBarController.lua"]:161: in function <Interface/FrameXML/ActionBarController.lua:129> [string "=[C]"]: in function ActionBarController_UpdateAll’
[string “@Interface/FrameXML/ActionBarController.lua”]:66: in function <Interface/FrameXML/ActionBarController.lua:55>

Locals: self = PetActionBar {
0 =
buttonPadding = 2
UpdateSystemSettingAlwaysShowButtons = defined @Interface/FrameXML/EditModeSystemTemplates.lua:765
UpdateMagnetismRegistration = defined @Interface/FrameXML/EditModeSystemTemplates.lua:499
GetSnapOffsets = defined @Interface/FrameXML/EditModeSystemTemplates.lua:404
UpdateFrameStrata = defined @Interface/FrameXML/ActionBar.lua:190
UpdateButtonArt = defined @Interface/FrameXML/EditModeSystemTemplates.lua:662
IsFrameAnchoredToMe = defined @Interface/FrameXML/EditModeSystemTemplates.lua:462
buttonTemplate = “PetActionButtonTemplate”
ShowBase = defined =[C]:-1
IsShown = defined @Interface/FrameXML/ActionBar.lua:282
GetSelectionOffset = defined @Interface/FrameXML/EditModeSystemTemplates.lua:356
ResetToDefaultPosition = defined @Interface/FrameXML/EditModeSystemTemplates.lua:148
RefreshButtonArt = defined @Interface/FrameXML/EditModeSystemTemplates.lua:655
GetScaledSelectionSides = defined @Interface/FrameXML/EditModeSystemTemplates.lua:348
SelectSystem = defined @Interface/FrameXML/EditModeSystemTemplates.lua:527
buttonArtDirty = false
GetFrameMagneticEligibility = defined @Interface/FrameXML/EditModeSystemTemplates.lua:482
Update = defined @Interface/FrameXML/PetActionBar.lua:120
AddLayoutChildren = defined @Interface/SharedXML/LayoutFrame.lua:48
IsBelowFrame = defined @Interface/FrameXML/EditModeSystemTemplates.lua:315
UpdateSystemSettingIconSize = defined @Interface/FrameXML/EditModeSystemTemplates.lua:707
SetScaleBase = defined =[C]:-1
HasActiveChanges = defined @Interface/FrameXML/EditModeSystemTemplates.lua:237
GetScaledCenter = defined @Interface/FrameXML/EditModeSystemTemplates.lua:341
IsToTheRightOfFrame = defined @Interface/Fr

1 Like

I"m getting a similar error

483x 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 @Interface/FrameXML/EditModeSystemTemplates.lua:91
dirtySettings =

{
}
UpdateGridLayout = defined @Interface/FrameXML/EditModeSystemTemplates.lua:648
IsToTheLeftOfFrame = defined @Interface/FrameXML/EditModeSystemTemplates.lua:304
GetSettingsDialogAnchor = defined @Interface/FrameXML/EditModeSystemTemplates.lua:288
hasActiveChanges = false
OnSystemLoad = defined @Interface/FrameXML/EditModeSystemTemplates.lua:3
ClearFrameSnap = defined @Interface/FrameXML/EditModeSystemTemplates.lua:448
GetCombinedCenterOffset = defined @Interface/FrameXML/EditModeSystemTemplates.lua:398
SetupSettingsDialogAnchor = defined @Interface/FrameXML/EditModeSystemTemplates.lua:232
IsShownOverride = defined @Interface/FrameXML/ActionBar.lua:286
dirty = false
SetPointBase = defined =[C]:-1
UpdateSystem = defined @Interface/FrameXML/EditModeSystemTemplates.lua:586
UpdateShownButtons = defined @Interface/FrameXML/ActionBar.lua:198
UpdateDirtySettings = defined @Interface/FrameXML/EditModeSystemTemplates.lua:112
BreakSnappedFrames = defined @Interface/FrameXML/EditModeSystemTemplates.lua:431
HideOverride = defined @Interface/FrameXML/ActionBar.lua:313
VehicleLeaveButton = MainMenuBarVehicleLeaveButton {
}
systemIndex = 1
snappedFrames =
{
}
SetShownOverride = defined @Interface/FrameXML/ActionBar.lua:298
SetPointOverride = defined @

1 Like

Same Here

2308x Interface/FrameXML/EditModeUtil.lua:22: attempt to perform arithmetic on local ‘offsetX’ (a nil value)
[string “@Interface/FrameXML/EditModeUtil.lua”]:22: in function GetRightActionBarWidth' [string "@Interface/FrameXML/EditModeUtil.lua"]:53: in function GetRightContainerAnchor’
[string “@Interface/FrameXML/UIParent.lua”]:3082: 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"]:605: in function UpdateRightActionBarPositions’
[string “@Interface/FrameXML/EditModeManager.lua”]:557: 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 = {
GetSettingMapFromSettings = defined @Interface/FrameXML/EditModeUtil.lua:58
IsRightAnchoredActionBar = defined @Interface/FrameXML/EditModeUtil.lua:3
GetRightContainerAnchor = defined @Interface/FrameXML/EditModeUtil.lua:52
IsBottomAnchoredActionBar = defined @Interface/FrameXML/EditModeUtil.lua:8
GetRightActionBarWidth = defined @Interface/FrameXML/EditModeUtil.lua:18
GetBottomActionBarHeight = defined @Interface/FrameXML/EditModeUtil.lua:33
}
offset = 0
point = nil
relativeTo = nil
relativePoint = nil
offsetX = nil
offsetY = nil
(*temporary) = 40.499981
(*temporary) = 40.499981
(*temporary) = MultiBarRight {
0 =
buttonPadding = 2
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 = “MultiBar3ButtonTemplate”
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
Layout = defined @Interface/SharedXML/LayoutFrame.lua:333
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 @Interface/FrameXML/EditModeSystemTemplates.lua:91
dirtySettings =
{
}
UpdateGridLayout = defined @Interface/FrameXML/EditModeSystemTemplates.lua:648
IsToTheLeftOfFrame = defined @Interface/FrameXML/EditModeSystemTemplates.lua:304
GetSettingsDialogAnchor = defined @Interface/FrameXML/EditModeSystemTemplates.lua:288
hasActiveChanges = false
OnSystemLoad = defined @Interface/FrameXML/EditModeSystemTemplates.lua:3
ClearFrameSnap = defined @Interface/FrameXML/EditModeSystemTemplates.lua:448
GetCombinedCenterOffset = defined @Interface/FrameXML/EditModeSystemTemplates.lua:398
SetupSettingsDialogAnchor = defined @Interface/FrameXML/EditModeSystemTemplates.lua:232
IsShownOverride = defined @Interface/FrameXML/ActionBar.lua:286
dirty = false
SetPointBase = defined =[C]:-1
UpdateSystem = defined @Interface/FrameXML/EditModeSystemTemplates.lua:586
CacheGridSettings =

1 Like

Non stop getting this error tonight.

Getting similar errors. I’m no lua expert, but this seems to be related to Blizzard’s UI not liking the position of certain UI elements, and not related to a 3rd party add-on.

Message: Interface/FrameXML/EditModeSystemTemplates.lua:631: attempt to perform arithmetic on local ‘offsetY’ (a nil value)
Time: Sun Nov 6 21:07:43 2022
Count: 4
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"]:40: 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 UpdateBottomActionBarPositions’
[string “@Interface/FrameXML/EditModeManager.lua”]:555: in function UpdateActionBarLayout' [string "@Interface/FrameXML/EditModeSystemTemplates.lua"]:655: in function UpdateGridLayout’
[string “@Interface/FrameXML/ActionBar.lua”]:350: in function UpdateVisibility' [string "@Interface/FrameXML/ActionBar.lua"]:317: in function Hide’
[string “@Interface/FrameXML/PetActionBar.lua”]:182: in function `Update’
[string “@Interface/FrameXML/PetActionBar.lua”]:84: in function <Interface/FrameXML/PetActionBar.lua:70>
[string “=[C]”]: ?

Locals: self = MultiBarBottomLeft {
0 =
buttonPadding = 2
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 = “MultiBar1ButtonTemplate”
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
Layout = defined @Interface/SharedXML/LayoutFrame.lua:333
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 @Interface/FrameXML/EditModeSystemTemplates.lua:91
dirtySettings =
{
}
UpdateGridLayout = defined @Interface/FrameXML/Ed

gettings hundreds of these errors from blizzard ui edit elements as well.

I was getting this error every second in combat. Found a temp fix:

  • Go into Edit Mode
  • Find the UI element that shows as a ‘+’
  • Toggle it off and on

This fixed it the first time around, the second UI element that was later popping this error multiple times generated an out of date addon popup when I toggled it back on. Disabling that addon cleared this error again. Haven’t seen it since.

Same. Getting the below error non-stop during combat.

Message: Interface/FrameXML/EditModeSystemTemplates.lua:631: attempt to perform arithmetic on local ‘offsetY’ (a nil value)

I’m getting it as well - what is the UI element that shows as ‘+’? what category is it under the edit mode?

Download two addons:
Buggrabber
Bugsack

This will let you keep track of bugs easier.

Before you install them turn off raider.io if you have it on its been causing lots of taints.

If you have any old addons you need to turn them off too.

Make sure you are NOT using “Load out of Date Addons” checkmark.

Otherwise you won’t get notifications about your addons being out of date meaning broken.

Next you need to turn off all addons, and one by one turn them on, checking to see if buggrabber and bugsack catch any bug.

Its the only way to make sure that its not on your side.

I have over 35 addons installed and I know the ones that toss occasionally errors that I can just do /reload to fix. Anything that makes me do it more than 3 times while im playing gets permanently turned off until a new version comes out.

Many of the addons also have areas where you can report issues either on curse or github.

1 Like

It could be any of the elements, whats going on is that its showing as a + because its got 0 width, 0 height. So you’ll have to kind of search around in edit mode to find which element it is…

For example, the first time I found this, my action bar 3 was turned on in options, but not displaying. The second time, it was my pet bar.

1 Like

ah ok thanks! i will do some digging! :thinking:

Best of luck, and sorry to hear you’re still having the error… Even though its a Blizzard/WoW error, its unfortunately being caused by a specific addon… So I’d definitely make sure out of date addons are turned off, or at least tested.

1 Like