OrderHallCommander

OrderHallCommander

3M Downloads

Error - cache.lua

Wraithlord2015 opened this issue ยท 2 comments

commented

Most recent update to OrderHallCommander still throwing errors:

1x OrderHallCommander/cache.lua:717: attempt to call global 'LoadAddOn' (a nil value)
[string "@OrderHallCommander/cache.lua"]:717: in function <OrderHallCommander/cache.lua:716>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@AspectOfTheHunter/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...AspectOfTheHunter/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@AspectOfTheHunter/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function InitializeAddon' [string "@AspectOfTheHunter/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <...AspectOfTheHunter/Libs/AceAddon-3.0/AceAddon-3.0.lua:611> [string "=[C]"]: ? [string "=[C]"]: in function LoadAddOn'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:422: in function UIParentLoadAddOn' [string "@Blizzard_UIParent/Mainline/UIParent.lua"]:619: in function Garrison_LoadUI'
[string "@Blizzard_GarrisonBase/GarrisonBaseUtils.lua"]:378: in function <...eBlizzard_GarrisonBase/GarrisonBaseUtils.lua:364>
[string "=[C]"]: ?
[string "=[C]"]: in function ShowGarrisonLandingPage' [string "@MasterPlan/PlanA/PlanA.lua"]:109: in function func'
[string "@Blizzard_SharedXML/Mainline/UIDropDownMenu.lua"]:1034: in function `UIDropDownMenuButton_OnClick'
[string "*UIDropDownMenuTemplates.xml:93_OnClick"]:1: in function <[string "*UIDropDownMenuTemplates.xml:93_OnClick"]:1>

Locals:
self =

{
baseName = "OrderHallCommander"
modules =
{
}
defaultModuleLibraries =
{
}
defaultModuleState = true
hooks =
{
}
name = "OrderHallCommander_Cache"
orderedModules =
{
}
enabledState = true
moduleName = "Cache"
}
(*temporary) = nil
(*temporary) = "Blizzard_OrderHallUI"
(*temporary) = "attempt to call global 'LoadAddOn' (a nil value)"
currency = nil
_ = nil
garrisonType = 3
currencyName = nil
resources = 0
currencyTexture = nil
addon =
{
modules =
{
}
allEquipments =
{
}
hooks =
{
}
db =
{
}
revision = "4f5f46c"
name = "OrderHallCommander"
defaultModuleState = true
CfgRel = 125
ProfileOpts =
{
}
lastsection = "Release Notes"
help =
{
}
prettyversion = "2.4.1 (Revision: 4f5f46c)"
version = "2.4.1"
ItemOrder =
{
}
enabledState = true
allReputationGain =
{
}
DbDefaults =
{
}
OptionsTable =
{
}
numericversion = 0
_Apply =
{
}
baseName = "OrderHallCommander"
MenuLevels =
{
}
allArtifactPower =
{
}
wowhead_update = 1512310641
CfgDlg = "OrderHallCommander"
defaultModuleLibraries =
{
}
die = false
orderedModules =
{
}
lastChange = 261542.541000
}

commented

In cache.lua change line 717:

From
LoadAddOn("Blizzard_OrderHallUI")

To
C_AddOns.LoadAddOn("Blizzard_OrderHallUI")

Should resolve all errors (not getting anything else at the moment, after making the change).

commented

Good fix, thanks!