11.1 Couldn't find inherited node "SquareIconButtonTemplate,CharCustomizeFrameWithTooltipTemplate", breaks addon
Voxheart opened this issue ยท 0 comments
The addon fails to load or function in the patch. Would love to know how you fixed this once you find the problem:
Here are my bugsacks errors:
4x BarberShopProfiles/Frames.lua:208: CreateFrame(): Couldn't find inherited node "SquareIconButtonTemplate,CharCustomizeFrameWithTooltipTemplate"
[C]: in function 'CreateFrame'
[BarberShopProfiles/Frames.lua]:208: in function <BarberShopProfiles/Frames.lua:207>
[C]: ?
[!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:66: in function <...s/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:494: in function 'InitializeAddon'
[!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:619: in function <...s/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[C]: ?
[C]: ?
[C]: in function 'LoadAddOn'
[Blizzard_UIParent/Mainline/UIParent.lua]:422: in function 'UIParentLoadAddOn'
[Blizzard_UIParent/Mainline/UIParent.lua]:553: in function 'BarberShopFrame_LoadUI'
[Blizzard_UIParent/Mainline/UIParent.lua]:2036: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1294>
Locals:
(*temporary) = "BUTTON"
(*temporary) = "BarberShopProfilesSaveButtonFrame"
(*temporary) = BarberShopProfilesMainFrame {
}
(*temporary) = "SquareIconButtonTemplate,CharCustomizeFrameWithTooltipTemplate"
I was able to workaround this one by removing all three instances of CharCustomizeFrameWithTooltipTemplate.
The next error occurs AFTER I remove CharCustomizeFrameWithTooltipTemplate and I think I caused it with the above workaround, but I removed by commenting out frame:AddTooltipLine(text, HIGHLIGHT_FONT_COLOR):
18x BarberShopProfiles/Frames.lua:61: attempt to call method 'AddTooltipLine' (a nil value)
{
[BarberShopProfiles/Frames.lua]:61: in function <BarberShopProfiles/Frames.lua:60>
[BarberShopProfiles/Frames.lua]:76: in function <BarberShopProfiles/Frames.lua:73>
[C]: ?
[!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:66: in function <...s/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:494: in function 'InitializeAddon'
[!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:619: in function <...s/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[C]: ?
[C]: ?
[C]: in function 'LoadAddOn'
[Blizzard_UIParent/Mainline/UIParent.lua]:422: in function 'UIParentLoadAddOn'
[Blizzard_UIParent/Mainline/UIParent.lua]:553: in function 'BarberShopFrame_LoadUI'
[Blizzard_UIParent/Mainline/UIParent.lua]:2036: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1294>
Locals:
frame = Button {
IconOverlay = Texture {
}
icon = TopIconTexture {
}
itemContextMatchResult = 3
searchOverlay = TopSearchOverlay {
}
PushedTexture = Texture {
}
NormalTexture = TopNormalTexture {
}
IconOverlay2 = Texture {
}
IconBorder = Texture {
}
HighlightTexture = Texture {
}
Stock = TopStock {
}
ItemContextOverlay = Texture {
}
showMatchHighlight = true
Count = TopCount {
}
}
text = "Delete"
(*temporary) = nil
(*temporary) = Button {
IconOverlay = Texture {
}
icon = TopIconTexture {
}
itemContextMatchResult = 3
searchOverlay = TopSearchOverlay {
}
PushedTexture = Texture {
}
NormalTexture = TopNormalTexture {
}
IconOverlay2 = Texture {
}
IconBorder = Texture {
}
HighlightTexture = Texture {
}
Stock = TopStock {
}
ItemContextOverlay = Texture {
}
showMatchHighlight = true
Count = TopCount {
}
}
(*temporary) = "Delete"
(*temporary) =
a = 1
b = 1
g = 1
r = 1
}
(*temporary) = "attempt to call method 'AddTooltipLine' (a nil value)"