C_Console is nil in 10.2 PTR
mabnp opened this issue ยท 1 comments
This error occurs on PTR when e.g. reloading UI. Same thing happens when I open CVar browser (which is empty and not usable).
2x AdvancedInterfaceOptions/cvars.lua:1039: attempt to index global 'C_Console' (a nil value)
[string "@AdvancedInterfaceOptions/cvars.lua"]:1039: in function `?'
[string "@AdvancedInterfaceOptions/cvars.lua"]:1052: in main chunk
Locals:
self = <table> {
CVarExists = <function> defined @AdvancedInterfaceOptions/cvars.lua:1032
combatProtected = <table> {
}
CreateListFrame = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:192
CreateString = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:3
CreateDropdown = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:483
Eve = <table> {
}
GetCVars = <function> defined @AdvancedInterfaceOptions/cvars.lua:1037
hiddenOptions = <table> {
}
CreateInput = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:403
}
cvars = <table> {
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'C_Console' (a nil value)"
addon = <table> {
CVarExists = <function> defined @AdvancedInterfaceOptions/cvars.lua:1032
combatProtected = <table> {
}
CreateListFrame = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:192
CreateString = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:3
CreateDropdown = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:483
Eve = <table> {
}
GetCVars = <function> defined @AdvancedInterfaceOptions/cvars.lua:1037
hiddenOptions = <table> {
}
CreateInput = <function> defined @AdvancedInterfaceOptions/semlib/widgets.lua:403
}
Fixed in ea9bd06
C_Console
namespace has been removed in 10.2; C_Console.GetAllCommands
is now ConsoleGetAllCommands