Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUA error when loading addon #77

Closed
necroburn opened this issue Oct 29, 2019 · 2 comments
Closed

LUA error when loading addon #77

necroburn opened this issue Oct 29, 2019 · 2 comments

Comments

@necroburn
Copy link

necroburn commented Oct 29, 2019

Message: Interface\AddOns\Threatrack\SavedVars.lua:12: attempt to index local 'current' (a nil value)
Time: Wed Oct 30 02:22:06 2019
Count: 1
Stack: Interface\AddOns\Threatrack\SavedVars.lua:12: attempt to index local 'current' (a nil value)
Interface\AddOns\Threatrack\SavedVars.lua:12: in function <Interface\AddOns\Threatrack\SavedVars.lua:10>
Interface\AddOns\Threatrack\SavedVars.lua:43: in function <Interface\AddOns\Threatrack\SavedVars.lua:39>

Locals: default = <table> {
 showHostileOnly = true
 frameScale = 1
}
current = nil
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 showHostileOnly = true
 frameScale = 1
}
(for control) = "showHostileOnly"
key = "showHostileOnly"
defaultValue = true
(*temporary) = "showHostileOnly"
(*temporary) = true
(*temporary) = nil
(*temporary) = "attempt to index local 'current' (a nil value)"
UpdateSavedVars = <function> defined @Interface\AddOns\Threatrack\SavedVars.lua:10
@haggen
Copy link
Owner

haggen commented Oct 29, 2019

Thank you. I'll look into it.

@haggen
Copy link
Owner

haggen commented May 28, 2021

We are not initializing the global ThreatrackSavedVars thus a "nil value".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants