Well tried this out and no go, I for the life of me can't figure out what I am doing wrong here, I tried changing a few things around but nothing seems to help. All my frames load properly except for the recount frame, the frame loads just without its border. Anyhow here is the error I am getting and my layout file to see if someone could make some sense of the mess I've made.
Code:
1x LitePanels-30300.2\layout.lua:78: attempt to call method 'RegsiterEvent' (a nil value)
LitePanels-30300.2\core.lua:295: in function `MakePanel'
LitePanels-30300.2\core.lua:345: in function `Init'
LitePanels-30300.2\core.lua:364: in function <LitePanels\core.lua:354>
Locals:
self = <table> {
Exit = <function> @ LitePanels\core.lua:348:
defaults = <table> {}
media = "LitePanels\media\"
ApplyLayout = <function> @ LitePanels\core.lua:86:
CreateFrame = <function> @ LitePanels\core.lua:373:
MakePanel = <function> @ LitePanels\core.lua:122:
Init = <function> @ LitePanels\core.lua:323:
RegisterEvent = <function> @ LitePanels\core.lua:106:
OnEvent = <function> @ LitePanels\core.lua:354:
profile = <table> {}
MatchProf = <function> @ LitePanels\core.lua:77:
events = <table> {}
cinfo = <table> {}
defaultv = <table> {}
temp = <table> {}
sides = <table> {}
CreateLayout = <function> @ LitePanels\core.lua:61:
}
f = <table> {
anchor_to = "BOTTOMRIGHT"
y_off = 5
OnLoad = <function> @ LitePanels\layout.lua:77:
parent = UIParent {}
x_off = -5
width = 400
bg_color = "0.01 0.01 0.01"
name = "LP_RecountPanel"
height = 143
OnEvent = <function> @ LitePanels\layout.lua:80:
strata = "BACKGROUND"
bg_alpha = 1
}
origparent = nil
origanchor = nil
panel = LP_RecountPanel {
RegisterEvent = <function> defined =[C]:-1
height = 143
0 = <userdata>
bg = <unnamed> {}
width = 400
}
ipairs = <function> defined =[C]:-1
d = <table> {
text = <table> {}
strata = "BACKGROUND"
y_off = 0
gradient_color = "1 1 1"
parent = "UIParent"
anchor_from = "BOTTOMLEFT"
border = "Interface/Tooltips/UI-Tooltip-Border"
width = 0
border_alpha = 1
bg_color = "0 0 0"
bg_alpha = 1
border_color = "1 1 1"
height = 0
border_size = 16
x_off = 0
anchor_to = "BOTTOMLEFT"
}
pairs = <function> defined =[C]:-1
is = <function> @ LitePanels\core.lua:44:
hidden = <table> {
}
IsAddOnLoaded = <function> defined =[C]:-1
deps = <table> {
}
strmatch = <function> defined =[C]:-1
lp = lp_C {
0 = <userdata>
}
Resize = <function> @ LitePanels\core.lua:110:
unpack = <function> defined =[C]:-1
setcolor = <function> @ LitePanels\core.lua:48:
gsub = <function> defined =[C]:-1
hooksecurefunc = <function> defined =[C]:-1
---
My Layout File for close scrutiny, thanks again for any assistance given, I know I am being a pain, kind of feel stupid in fact that I can't figure this out but what are ya going to do.
layout.lua