Lua error in edit mode

I’m getting this Lua error in edit mode, and I’m unable to save any further UI edits. The problem appears to be related to the Boss Warning Medium frame, which I have moved from the default position.

Edit mode was working before I did that.

Reloading doesn’t fix it.

533x ...Blizzard_EditMode/Shared/EditModeSystemTemplates.lua:603: attempt to perform arithmetic on local 'left' (a secret value)
[Blizzard_EditMode/Shared/EditModeSystemTemplates.lua]:603: in function 'GetScaledSelectionSides'
[Blizzard_EditMode/Shared/EditModeUtil.lua]:378: in function 'GetMagneticFrameInfoOptions'
[Blizzard_EditMode/Shared/EditModeUtil.lua]:419: in function 'GetMagneticFrameInfos'
[Blizzard_EditMode/Shared/EditModeManager.lua]:1028: in function 'RefreshSnapPreviewLines'
[Blizzard_EditMode/Shared/EditModeManager.lua]:71: in function <Blizzard_EditMode/Shared/EditModeManager.lua:69>

Locals:
self = MediumEncounterWarnings {
 systemInfo = <table> {
 }
 downKeys = <table> {
 }
 hasActiveChanges = false
 dirty = false
 systemIndex = 3
 snappedFrames = <table> {
 }
 isDragging = false
 resetToDefaultPositionButton = Button {
 }
 isSelected = false
 isHighlighted = true
 isEditing = true
 dirtySettings = <table> {
 }
 settingMap = <table> {
 }
 savedSystemInfo = <table> {
 }
 settingDisplayInfoMap = <table> {
 }
 settingsDialogAnchor = <table> {
 }
 systemNameString = "Boss Warning - Medium"
 View = Frame {
 }
 minimumHeight = 36
 minimumWidth = 550
 system = 22
 Selection = Frame {
 }
 defaultHideSelection = true
}
left = <no value>
bottom = <no value>
width = <no value>
height = <no value>
scale = 1
(*temporary) = MediumEncounterWarnings {
 systemInfo = <table> {
 }
 downKeys = <table> {
 }
 hasActiveChanges = false
 dirty = false
 systemIndex = 3
 snappedFrames = <table> {
 }
 isDragging = false
 resetToDefaultPositionButton = Button {
 }
 isSelected = false
 isHighlighted = true
 isEditing = true
 dirtySettings = <table> {
 }
 settingMap = <table> {
 }
 savedSystemInfo = <table> {
 }
 settingDisplayInfoMap = <table> {
 }
 settingsDialogAnchor = <table> {
 }
 systemNameString = "Boss Warning - Medium"
 View = Frame {
 }
 minimumHeight = 36
 minimumWidth = 550
 system = 22
 Selection = Frame {
 }
 defaultHideSelection = true
}
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'left' (a secret value)"

This is the UI layout that’s causing it:

2 50 0 0 1 7 7 UIParent 0.0 45.0 -1 ##$$%/&('%)$+#,$ 0 1 1 6 0 MainActionBar 0.0 5.0 -1 ##$$%/&('%(#,$ 0 2 0 6 8 MainActionBar 4.0 0.0 -1 ##$%%/&('%(#,$ 0 3 1 5 5 UIParent -5.0 -77.0 -1 #$$$%/&('%(#,$ 0 4 1 2 0 MultiBarRight -5.0 0.0 -1 #$$$%/&('%(#,$ 0 5 0 8 6 MultiBarLeft -4.0 0.0 -1 #$$$%/&('%(#,$ 0 6 0 0 0 UIParent 1258.4 -870.0 -1 ##$$%/&('%(#,$ 0 7 0 4 4 UIParent 0.0 -122.2 -1 ##$%%/&$'%(#,# 0 10 1 6 0 MainActionBar 0.0 5.0 -1 ##$$&('% 0 11 1 6 0 MainActionBar 0.0 5.0 -1 ##$$&('%,# 0 12 1 6 0 MainActionBar 0.0 5.0 -1 ##$$&('% 1 -1 1 4 4 UIParent 0.0 0.0 -1 ##$#%# 2 -1 1 2 2 UIParent 0.0 0.0 -1 ##$#%( 3 0 1 0 0 UIParent 4.0 -4.0 -1 $#3# 3 1 1 0 0 UIParent 250.0 -4.0 -1 %#3# 3 2 0 4 4 UIParent -439.1 -1.0 -1 %#&$3# 3 3 0 0 0 UIParent 580.2 -404.0 -1 '$(#)#--.+/#1#3#5#6(7-7$ 3 4 0 0 0 UIParent 420.5 -404.0 -1 ,#-#.#/#0&1#2(5#6(7-7$ 3 5 0 2 2 UIParent -1162.2 -95.0 -1 &#*$3# 3 6 1 5 5 UIParent 0.0 0.0 -1 -#.#/#4&5#6(7-7$ 3 7 1 4 4 UIParent 0.0 0.0 -1 3# 4 -1 0 4 4 UIParent 0.0 -199.5 -1 # 5 -1 1 6 0 MainActionBar 0.0 5.0 -1 # 6 0 1 2 0 MinimapCluster -10.0 -10.0 -1 ##$#%#&.(()( 6 1 1 2 8 BuffFrame -13.0 -15.0 -1 ##$#%#'+(()(-$ 6 2 1 1 1 UIParent 0.0 -25.0 -1 ##$#%$&.(()(+#,-,$ 7 -1 0 1 1 UIParent -32.7 -2.0 -1 # 8 -1 0 3 3 UIParent 34.0 -292.5 -1 #'$A%$&7 9 -1 1 6 0 MainActionBar 0.0 5.0 -1 # 10 -1 0 4 4 UIParent 309.5 -87.5 -1 # 11 -1 0 0 0 UIParent 1479.2 -785.9 -1 # 12 -1 0 7 1 MultiBarBottomRight 202.2 4.0 -1 #:$#%# 13 -1 1 8 8 MicroButtonAndBagsBar 0.0 0.0 -1 ##$#%)&) 14 -1 1 2 2 MicroButtonAndBagsBar 0.0 0.0 -1 ##$#%( 15 0 0 4 4 UIParent 0.0 -496.4 -1 # 15 1 0 6 0 MainStatusTrackingBarContainer 0.0 4.0 -1 # 16 -1 1 5 5 UIParent 0.0 0.0 -1 #( 17 -1 1 1 1 UIParent 0.0 -100.0 -1 ## 18 -1 1 5 5 UIParent 0.0 0.0 -1 #- 19 -1 1 7 7 UIParent 0.0 0.0 -1 ## 20 0 1 7 7 UIParent 0.0 310.0 -1 ##$/%$&('%(-($)#+$,$-$ 20 1 1 7 7 UIParent 0.0 240.0 -1 ##$*%$&('%(-($)#+$,$-$ 20 2 1 7 7 UIParent 0.0 370.0 -1 ##$$%$&('((-($)#+$,$-$ 20 3 1 7 7 UIParent 420.0 430.0 -1 #$$$%#&('((-($)#*#+$,$-$.-.$ 21 -1 0 4 4 UIParent 0.0 -96.6 -1 ##$# 22 0 1 8 7 UIParent -457.0 336.0 -1 #$$$%$&/'$(#)U*$+$,$ 22 1 0 4 4 UIParent 0.0 139.4 -1 &('()U*#+$ 22 2 0 4 4 UIParent 0.0 187.1 -1 &('()U*#+$ 22 3 0 4 4 UIParent 0.0 231.7 -1 &('()U*$+$ 23 -1 1 0 0 UIParent 0.0 0.0 -1 ##$#%$&-&$'7(%)U+$,$-$.(/U

Edit: Moving the Extra Abilities window seems to trigger the error every time. Moving some other windows doesn’t trigger the error.

2 Likes