Settings Menus Don't Load in Vanilla Fresh Servers
himea-saito opened this issue ยท 4 comments
Getting the following errors when opening the settings panel in Vanilla Fresh, and the panels are empty:
Message: ...face/AddOns/Necrosis/XML/Options-Buttons-Vanilla.lua:55: CreateFrame(): Couldn't find inherited node "OptionsButtonTemplate"
Time: Sat Nov 23 03:10:25 2024
Count: 1
Stack: ...face/AddOns/Necrosis/XML/Options-Buttons-Vanilla.lua:55: CreateFrame(): Couldn't find inherited node "OptionsButtonTemplate"
[string "=[C]"]: in function `CreateFrame'
[string "@Interface/AddOns/Necrosis/XML/Options-Buttons-Vanilla.lua"]:55: in function `SetButtonsConfig'
[string "@Interface/AddOns/Necrosis/XML/Panel.lua"]:253: in function `SetPanel'
[string "@Interface/AddOns/Necrosis/XML/Panel.lua"]:183: in function <Interface/AddOns/Necrosis/XML/Panel.lua:183>
Locals: (*temporary) = "Button"
(*temporary) = nil
(*temporary) = NecrosisButtonsConfig1 {
}
(*temporary) = "OptionsButtonTemplate"
Message: Interface/AddOns/Necrosis/XML/Options-Menus.lua:54: CreateFrame(): Couldn't find inherited node "OptionsButtonTemplate"
Time: Sat Nov 23 03:11:11 2024
Count: 1
Stack: Interface/AddOns/Necrosis/XML/Options-Menus.lua:54: CreateFrame(): Couldn't find inherited node "OptionsButtonTemplate"
[string "=[C]"]: in function `CreateFrame'
[string "@Interface/AddOns/Necrosis/XML/Options-Menus.lua"]:54: in function `SetMenusConfig'
[string "@Interface/AddOns/Necrosis/XML/Panel.lua"]:261: in function `SetPanel'
[string "@Interface/AddOns/Necrosis/XML/Panel.lua"]:183: in function <Interface/AddOns/Necrosis/XML/Panel.lua:183>
Locals: (*temporary) = "Button"
(*temporary) = nil
(*temporary) = NecrosisMenusConfig1 {
}
(*temporary) = "OptionsButtonTemplate"
Message: Interface/AddOns/Necrosis/XML/Options-Timers.lua:53: CreateFrame(): Couldn't find inherited node "OptionsButtonTemplate"
Time: Sat Nov 23 03:11:23 2024
Count: 1
Stack: Interface/AddOns/Necrosis/XML/Options-Timers.lua:53: CreateFrame(): Couldn't find inherited node "OptionsButtonTemplate"
[string "=[C]"]: in function `CreateFrame'
[string "@Interface/AddOns/Necrosis/XML/Options-Timers.lua"]:53: in function `SetTimersConfig'
[string "@Interface/AddOns/Necrosis/XML/Panel.lua"]:269: in function `SetPanel'
[string "@Interface/AddOns/Necrosis/XML/Panel.lua"]:183: in function <Interface/AddOns/Necrosis/XML/Panel.lua:183>
Locals: (*temporary) = "Button"
(*temporary) = nil
(*temporary) = NecrosisTimersConfig1 {
}
(*temporary) = "OptionsButtonTemplate"
Sadly I don't have time to setup a pull request. Here is the fix needed:
OptionsButtonTemplate has been deprecated, needs to be replaced several places in each file with UIPanelButtonTemplate in the following files for era:
Options-Timers-lua
Options-Menus-lua
Options-Buttons-Vanilla.lua
Thanks for the info, I added a pull request for this: #28
Here is an unofficial fork if anyone wants to use my updated version. This is NOT an official download link, but it does fix this issue: https://github.com/himea-saito/Necrosis/releases/tag/Unofficial-8.2.12