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

Error - cache.lua #32

Open
Wraithlord2015 opened this issue Aug 16, 2024 · 2 comments
Open

Error - cache.lua #32

Wraithlord2015 opened this issue Aug 16, 2024 · 2 comments

Comments

@Wraithlord2015
Copy link

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
}

@Wraithlord2015
Copy link
Author

Wraithlord2015 commented Aug 16, 2024

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).

@raysmith59
Copy link

Good fix, thanks!

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

No branches or pull requests

2 participants