
Errors: attempt to index field 'db' a nil value
jacobrreed opened this issue ยท 5 comments
18x LiteMount/Options.lua:652: attempt to index field 'db' (a nil value)
[string "@LiteMount/Options.lua"]:652: in function `GetOption'
[string "@LiteMount/Print.lua"]:80: in function `UIDebug'
[string "@LiteMount/UI/PanelTemplate.lua"]:128: in function `OnRefresh'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:9: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:7>
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:525: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:524>
[string "=[C]"]: in function `xpcall'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:488: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:485>
[string "=[C]"]: in function `secureexecuterange'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:496: in function `ForEachCanvas'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:524: in function `CallRefreshOnCanvases'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:169: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:135>
[string "=[C]"]: ?
...
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:174: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:169>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:893: in function `ShowUIPanel'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:262: in function `Open'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:269: in function `OpenToCategory'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsInbound.lua"]:170: in function <...lizzard_Settings_Shared/Blizzard_SettingsInbound.lua:167>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsInbound.lua"]:63: in function <...lizzard_Settings_Shared/Blizzard_SettingsInbound.lua:62>
[string "=(tail call)"]: ?
[string "@BetterBlizzPlates/retail/BetterBlizzPlates.lua"]:5559: in function <...ddOns/BetterBlizzPlates/retail/BetterBlizzPlates.lua:5481>
Locals:
self = <table> {
DEFAULT_PRIORITY = 1
MIN_PRIORITY = 0
ALWAYS_PRIORITY = 4
DISABLED_PRIORITY = 0
MAX_PRIORITY = 4
}
name = "uiDebugEnabled"
(for state) = <table> {
1 = "char"
2 = "profile"
3 = "global"
}
(for control) = 1
_ = 1
k = "char"
(*temporary) = nil
(*temporary) = "attempt to index field 'db' (a nil value)"
defaults = <table> {
profile = <table> {
}
global = <table> {
}
char = <table> {
}
}
LM = <table> {
C_Spell = <table> {
}
TravelForm = <table> {
}
Mount = <table> {
}
Drive = <table> {
}
FLAG = <table> {
}
MountRegistry = Frame {
}
MountList = <table> {
}
UIFilter = <table> {
}
ActionButton = <table> {
}
Actions = <table> {
}
RuleSet = <table> {
}
Rule = <table> {
}
Journal = <table> {
}
Options = <table> {
}
RuleArguments = <table> {
}
Vars = <table> {
}
Conditions = <table> {
}
Nagrand = <table> {
}
RunningWild = <table> {
}
SPELL = <table> {
}
MOUNT_TYPE_NAMES = <table> {
}
Soar = <table> {
}
GhostWolf = <table> {
}
Spell = <table> {
}
SecureAction = <table> {
}
RuleContext = <table> {
}
RuleBoolean = <table> {
}
MOUNT_TYPE_INFO = <table> {
}
Environment = Frame {
}
MOUNTFAMILY = <table> {
}
C_MountJournal = <table> {
}
ITEM = <table> {
}
Localize = <table> {
}
ItemSummoned = <table> {
}
}
Not sure what's causing your problem, looks to be something interfering or possibly some kind of corruption. I don't think there's any way this could be happening with LiteMount installed correctly.
I would suggest re-installing LiteMount, or deleting the LiteMount settings (while the game is not running). If you have curseforge updater you can right-click on LiteMount to do it. Other updater's might also do it. Or you can find the LiteMount.lua file under the SavedVariables folders and delete it (google should be able to help with how to do this).
If disabling BetterBlizPlates fixes the issue you should tell the author of that addon not to call OpenToCategory in their initialization code.
Based on the debug log there is some chance this is BetterBlizPlates forcing a display of the options menu way earlier in the addon loading process than it should.