Doesn't work in the War Within Beta, Lua Error #76


Open
  • Azarias59 created this issue Jun 9, 2024

    Message: Interface/AddOns/kgPanels/kgPanels.lua:632: attempt to call upvalue 'IsAddOnLoaded' (a nil value)
    Time: Sun Jun 9 13:11:03 2024
    Count: 1
    Stack: Interface/AddOns/kgPanels/kgPanels.lua:632: attempt to call upvalue 'IsAddOnLoaded' (a nil value)
    [string "@Interface/AddOns/kgPanels/kgPanels.lua"]:632: in function `?'
    [string "@Interface/AddOns/Bartender4/libs/AceConsole-3.0/AceConsole-3.0.lua"]:90: in function `?'
    [string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5440: in function `ChatEdit_ParseText'
    [string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5092: in function `ChatEdit_SendText'
    [string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5128: in function `ChatEdit_OnEnterPressed'
    [string "*ChatFrame.xml:140_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:140_OnEnterPressed"]:1>

    Locals: self = <table> {
    modules = <table> {
    }
    defaultModuleLibraries = <table> {
    }
    eframe = kgPanels_Dep_Frame {
    }
    angles = <table> {
    }
    name = "kgPanels"
    orderedModules = <table> {
    }
    parents = <table> {
    }
    active = "None"
    baseName = "kgPanels"
    db = <table> {
    }
    enabledState = true
    defaultModuleState = true
    }
    input = "config"
    cmd = "config"
    ly = nil
    (*temporary) = nil
    (*temporary) = "kgPanelsConfig"
    (*temporary) = "attempt to call upvalue 'IsAddOnLoaded' (a nil value)"
    l_config = "config"
    IsAddOnLoaded = nil
    l_enable = "enable"
    l_disable = "disable"
    l_layout = "layout"
    l_not_found = " not found."
    l_usage = <table> {
    1 = "Usage: /kgpanels <command>"
    2 = ""config" enter the config screen."
    3 = ""enable" enable the mod."
    4 = ""disable" disable the mod."
    5 = ""layout" "layout name" to change layouts."
    }

  • Aur0r491 posted a comment Aug 15, 2024

    I've fixed it on 11.0.2 (retail) by changing the following lines in kgPanels.lua:

     

    line 632

    to 

    local loaded = C_AddOns.IsAddOnLoaded("kgPanelsConfig")

     

    line 637

    to

    loaded, reason = C_AddOns.LoadAddOn("kgPanelsConfig")

  • kirogaminghd posted a comment Aug 21, 2024

    Thanks, that made it possible for me to at least configure kgpanels again by command

     


To post a comment, please login or register a new account.