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 when initialize plugin - InterfaceOptions_AddCategory #294

Open
o0sh4d0w0o opened this issue Sep 17, 2024 · 1 comment
Open

Error when initialize plugin - InterfaceOptions_AddCategory #294

o0sh4d0w0o opened this issue Sep 17, 2024 · 1 comment

Comments

@o0sh4d0w0o
Copy link

Description :

When launching game with retail expension (The War Within v11.0.2 - 56513 - x64 - Sep 5 2024) we got LUA error on addon initialization.

Error stack :

Message: Interface/AddOns/RaiderIO/core.lua:13339: attempt to call global 'InterfaceOptions_AddCategory' (a nil value)
Time: Tue Sep 17 18:02:11 2024
Count: 1
Stack: Interface/AddOns/RaiderIO/core.lua:13339: attempt to call global 'InterfaceOptions_AddCategory' (a nil value)
[string "@Interface/AddOns/RaiderIO/core.lua"]:13339: in function `CreateInterfacePanel'
[string "@Interface/AddOns/RaiderIO/core.lua"]:13439: in main chunk

Suggestion :

Change line 13339 :

InterfaceOptions_AddCategory(panel, true)

By :

if InterfaceOptions_AddCategory then
    InterfaceOptions_AddCategory(panel, true)
else
    local category, layout = _G.Settings.RegisterCanvasLayoutCategory(panel, panel.name)
    _G.Settings.RegisterAddOnCategory(category)
end
@Vladinator
Copy link
Collaborator

Something looks odd, because the error occurs on older version of the addon, which was fixed some weeks ago.

It might be that something went wrong with addon updating, or the RIO client failed to update the addon, failing to locale the game installation, etc.

If you could manually control and check that the addon is updated, the error should then go away.

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