SmexyMats(Retail)

SmexyMats(Retail)

148k Downloads

InterfaceOptionsFrame_OpenToCategory

gaveer opened this issue ยท 1 comments

commented

when you try to use the ChatCommand /sm error poped:

14x SmexyMats/main/Smexy_Core.lua:102: attempt to call global 'InterfaceOptionsFrame_OpenToCategory' (a nil value)
[string "@SmexyMats/main/Smexy_Core.lua"]:102: in function `?'
[string "@Ace3/AceConsole-3.0-7/AceConsole-3.0.lua"]:90: in function `?'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5468: in function `ChatEdit_ParseText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5120: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5119>
[string "=[C]"]: in function `ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5156: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:140_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:140_OnEnterPressed"]:1>
[string "=[C]"]: ?

Locals:
self = <table> {
 baseName = "SmexyMats"
 Scrap = <table> {
 }
 modules = <table> {
 }
 Drop = <table> {
 }
 Vendor = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 Profs = <table> {
 }
 Reagents = <table> {
 }
 defaults = <table> {
 }
 options = <table> {
 }
 ExPacks = <table> {
 }
 name = "SmexyMats"
 Colors = <table> {
 }
 orderedModules = <table> {
 }
 Sources = <table> {
 }
 enabledState = true
 defaultModuleState = true
}
(*temporary) = nil
(*temporary) = "SmexyMats(Retail)"
(*temporary) = "attempt to call global 'InterfaceOptionsFrame_OpenToCategory' (a nil value)"
commented

InterfaceOptionsFrame_OpenToCategory was changed with 11.0
https://warcraft.wiki.gg/wiki/Patch_11.0.0/API_changes

SmexyMats\main\Smexy_Core.lua
Line 102
Line 103

- InterfaceOptionsFrame_OpenToCategory("SmexyMats(Retail)");
- InterfaceOptionsFrame_OpenToCategory("SmexyMats(Retail)");

+ Settings.OpenToCategory("SmexyMats(Retail)");
+ Settings.OpenToCategory("SmexyMats(Retail)");