BetterBags

BetterBags

1M Downloads

Themes LUA error

Snichy opened this issue ยท 0 comments

commented

Addon Version

0.3.16

World of Warcraft Version

Retail

Describe the bug

Getting the following error (not sure if its this addon or the Betterbag - Themes" plugin?

42x BetterBags/themes/themes.lua:253: attempt to index local 'theme' (a nil value)
[string "@BetterBags/themes/themes.lua"]:253: in function UpdateOpacity' [string "@BetterBags/config/config.lua"]:465: in function setValue'
[string "@BetterBags/forms/layouts/stacked.lua"]:538: in function <BetterBags/forms/layouts/stacked.lua:537>
[string "@BetterBags/core/context.lua"]:164: in function <BetterBags/core/context.lua:162>
[string "=[C]"]: in function SetValue' [string "@BetterBags/forms/layouts/stacked.lua"]:585: in function AddSlider'
[string "@BetterBags/forms/form.lua"]:117: in function AddSlider' [string "@BetterBags/config/config.lua"]:454: in function CreateConfig'
[string "@BetterBags/config/config.lua"]:527: in function OnEnable' [string "@BetterBags/config/plugin.lua"]:28: in function AddPluginConfig'
[string "@BetterBags-Appearances/main.lua"]:304: in function AddAppearancesConfig' [string "@BetterBags-Appearances/main.lua"]:117: in function <BetterBags-Appearances/main.lua:112> [string "=[C]"]: ? [string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function InitializeAddon'
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals:
self =

{
modules =
{
}
defaultModuleLibraries =
{
}
name = "BetterBags_Themes"
orderedModules =
{
}
itemButtons =
{
}
defaultModuleState = true
windows =
{
}
baseName = "BetterBags"
themes =
{
}
enabledState = false
titles =
{
}
tabs =
{
}
moduleName = "Themes"
sectionFonts =
{
}
}
theme = nil
(for state) =
{
1 = BetterBagsForm0BetterBags Settings {
}
}
(for control) = 1
_ = 1
frame = BetterBagsForm0BetterBags Settings {
}
sizeInfo =
{
itemsPerRow = 7
opacity = 100
scale = 95
columnCount = 3
height = 500
width = 700
}
(*temporary) =
{
modules =
{
}
defaultModuleState = true
data =
{
}
baseName = "BetterBags"
enabledState = true
defaultModuleLibraries =
{
}
name = "BetterBags_Database"
orderedModules =
{
}
moduleName = "Database"
}
(*temporary) = 0
(*temporary) = 2
(*temporary) =
{
itemsPerRow = 7
opacity = 100
scale = 95
columnCount = 3
height = 500
width = 700
}
(*temporary) = 0
(*temporary) = "attempt to index local 'theme' (a nil value)"
db =
{
modules =
{
}
defaultModuleState = true
data =
{
}
baseName = "BetterBags"
enabledState = true
defaultModuleLibraries =
{
}
name = "BetterBags_Database"
orderedModules =
{
}
moduleName = "Database"
}
const =
{
BANK_ONLY_BAGS =
{
}
BAG_KIND =
{
}
modules =
{
}
BANK_TAB =
{
}
BANK_BAGS =
{
}
BINDING_SCOPE =
{
}
BANK_ONLY_BAGS_LIST =
{
}
baseName = "BetterBags"
BAG_SUBTYPES =
{
}
DATABASE_DEFAULTS =
{
}
SECTION_SORT_TYPE =
{
}
FORM_LAYOUT =
{
}
INVENTORY_TYPE_TO_INVENTORY_SLOTS =
{
}
EQUIPMENT_SLOTS =
{
}
TRADESKILL_MAP =
{
}
name = "BetterBags_Constants"
BRIEF_EXPANSION_MAP =
{
}
orderedModules =
{
}
EXPANSION_MAP =
{
}
defaultModuleState = true
OFFSETS =
{
}
ITEM_QUALITY_COLOR =
{
}
BINDING_MAP =
{
}
ITEM_QUALITY_HIGHLIGHT =
{
}
BAG_SUBTYPE_TO_QUALITY =
{
}
ITEM_QUALITY_TO_ENUM =
{
}
EXPANSION_TYPE =
{
}
ITEM_SORT_TYPE =
{
}
BACKPACK_BAGS =
{
}
BAG_VIEW =
{
}
WINDOW_KIND =
{
}
defaultModuleLibraries =
{
}
ITEM_QUALITY_COLOR_LOW =
{
}
BACKPACK_ONLY_BAGS_LIST =
{
}
enabledState = false
BACKPACK_ONLY_REAGENT_BAGS =
{
}
ACCOUNT_BANK_BAGS =
{
}
GRID_COMPACT_STYLE =
{
}
MOVEMENT_FLOW =
{
}
REAGENTBANK_BAGS =
{
}
ITEM_BAG_FAMILY =
{
}
ITEM_QUALITY_COLOR_HIGH =
{
}
moduleName = "Constants"
BACKPACK_ONLY_BAGS =
{
}
}

Steps to reproduce

Appears upon logging in or reloading UI