View Single Post
10-18-14, 03:36 AM   #2
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
Error 1: You're creating a local variable QuestLogFrame on line 19 of your code snippet, but you're not assigning it any value. This means that it's nil when you try to call :SetMovable on it on line 76, which throws the "attempt to index local 'QuestLogFrame' (a nil value)" error.

It looks like you expect the variable to point to a frame, but are you meant to be referencing an existing frame or creating your own?

Error 2: You're trying to call the QuestGuru_OnEvent function in the OnEvent script of QuestGuru_Frame, but you never assign a function to QuestGuru_OnEvent, so it's nil.

You need to actually define the QuestGuru_OnEvent function somewhere (preferably as a local function unless you require it to be global).
  Reply With Quote