Raider.IO Mythic Plus, Raid Progress, and Recruitment

Raider.IO Mythic Plus, Raid Progress, and Recruitment

341M Downloads

Error when initialize plugin - InterfaceOptions_AddCategory

o0sh4d0w0o opened this issue ยท 1 comments

commented

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
commented

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.