I wrote a very simple addon (my first). All it does is provide 8 buttons in a small panel for calling out the number of enemies incoming to whatever node you're defending. (Think Arathi Basin).
It all worked fine at first, then after a few logins/outs this error started to occur:
Code:
Message: [string "IncomingMainFrame:OnLoad"]:1: attempt to call global 'IncomingMainFrame_OnLoad' (a nil value)
Time: 06/15/10 17:32:36
Count: 1
Stack: [string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>
Locals: self = IncomingMainFrame {
0 = <userdata>
}
(*temporary) = nil
(*temporary) = "attempt to call global 'IncomingMainFrame_OnLoad' (a nil value)"
Can someone translate this into English so i can understand what's going on?
Source available here: Frame.xml Frame.lua