Drift

Drift

33.5k Downloads

lua error 9.1.5

lenoirrichelieu opened this issue ยท 4 comments

commented

Hi,
I keep having the following lua error

AddOns\Drift\DriftHelpers.lua:123: attempt to index local 'frame' (a nil value)
Count: 43

Call Stack:
[string "=[C]"]: ?
[string "@AddOns\Drift\DriftHelpers.lua"]:123: in function <AddOns\Drift\DriftHelpers.lua:99>
[string "@AddOns\Drift\DriftHelpers.lua"]:485: in function ModifyFrames' [string "@AddOns\Drift\Drift.lua"]:578: in function <AddOns\Drift\Drift.lua:570> [string "=[C]"]: in function LoadAddOn'
[string "@FrameXML\UIParent.lua"]:509: in function UIParentLoadAddOn' [string "@FrameXML\UIParent.lua"]:686: in function PlayerChoice_LoadUI'
[string "@FrameXML\UIParent.lua"]:2191: in function <FrameXML\UIParent.lua:1287>

I am using latest version from Curseforge in retail 9.1.5 and the only permanently moved frame is QuestTracker.

commented

Hi @lenoirrichelieu - thanks for reporting this issue! I am able to reproduce it. At the moment, I do not know the cause, but it should be possible to disable the PlayerChoice frame to have the errors go away. Can you go to Interface -> AddOns -> Drift -> Options and make sure "Player Choice" is unchecked? Let me know if this does not cause the errors to disappear. When I get some time, I will look into adding a code fix for this bug.

commented

Hi,
Thank you for the fast response. I did what you recommended and the error is gone it seems. I tested with other chars where I didn't move the QuestTracker before and it was OK.

commented

Glad to hear the error is gone. Thanks for the extra information about QuestTracker!

commented

This should be fixed with Drift v1.0.18.