Legacy-of-Sylvanaar / wow-instant-messenger

WIM (WoW Instant Messenger) is a World of Warcraft addon which brings an instant messenger feel to communication in game.
https://www.curseforge.com/wow/addons/wim-3
MIT License
11 stars 8 forks source link

Error after upgrading to latest version. #83

Closed zaphon closed 5 months ago

zaphon commented 5 months ago

Upon logging in with the latest version (3.11.0), I get the following error.

1x WIM/Modules/ChatEngine.lua:909: attempt to call method 'RegisterChatEvent' (a nil value)
[string "@WIM/Modules/ChatEngine.lua"]:909: in function `OnEnable'
[string "@WIM/WIM.lua"]:314: in function `EnableModule'
[string "@WIM/WIM.lua"]:104: in function <WIM/WIM.lua:70>
[string "@WIM/WIM.lua"]:406: in function `fun'
[string "@WIM/WIM.lua"]:363: in function `CoreEventHandler'
[string "@WIM/WIM.lua"]:59: in function <WIM/WIM.lua:59>

Locals:
self = <table> {
 OnWindowShow = <function> defined @WIM/Modules/ChatEngine.lua:942
 CHAT_MSG_INSTANCE_CHAT = <function> defined @WIM/Modules/ChatEngine.lua:962
 db_defaults = <table> {
 }
 ChatMessageEventFilter = <function> defined @WIM/Modules/ChatEngine.lua:948
 OnWindowDestroyed = <function> defined @WIM/Modules/ChatEngine.lua:921
 enableByDefault = false
 db = <table> {
 }
 resources = <table> {
 }
 enabled = true
 RegisterWidget = <function> defined @WIM/WIM.lua:291
 RegisterEvent = <function> defined @WIM/WIM.lua:286
 CHAT_MSG_INSTANCE_CHAT_LEADER = <function> defined @WIM/Modules/ChatEngine.lua:1011
 OnDisable = <function> defined @WIM/Modules/ChatEngine.lua:916
 OnEnable = <function> defined @WIM/Modules/ChatEngine.lua:906
 title = "BattlegroundChat"
 Enable = <function> defined @WIM/WIM.lua:287
 dPrint = <function> defined @WIM/WIM.lua:289
 canDisable = true
 hasWidget = false
 Disable = <function> defined @WIM/WIM.lua:288
}
(*temporary) = nil
(*temporary) = <table> {
 OnWindowShow = <function> defined @WIM/Modules/ChatEngine.lua:942
 CHAT_MSG_INSTANCE_CHAT = <function> defined @WIM/Modules/ChatEngine.lua:962
 db_defaults = <table> {
 }
 ChatMessageEventFilter = <function> defined @WIM/Modules/ChatEngine.lua:948
 OnWindowDestroyed = <function> defined @WIM/Modules/ChatEngine.lua:921
 enableByDefault = false
 db = <table> {
 }
 resources = <table> {
 }
 enabled = true
 RegisterWidget = <function> defined @WIM/WIM.lua:291
 RegisterEvent = <function> defined @WIM/WIM.lua:286
 CHAT_MSG_INSTANCE_CHAT_LEADER = <function> defined @WIM/Modules/ChatEngine.lua:1011
 OnDisable = <function> defined @WIM/Modules/ChatEngine.lua:916
 OnEnable = <function> defined @WIM/Modules/ChatEngine.lua:906
 title = "BattlegroundChat"
 Enable = <function> defined @WIM/WIM.lua:287
 dPrint = <function> defined @WIM/WIM.lua:289
 canDisable = true
 hasWidget = false
 Disable = <function> defined @WIM/WIM.lua:288
}
(*temporary) = "CHAT_MSG_INSTANCE_CHAT"
(*temporary) = "attempt to call method 'RegisterChatEvent' (a nil value)"
createWidget_Chat = <function> defined @WIM/Modules/ChatEngine.lua:122
_G = <table> {
 UpdateOnBarHighlightMarksBySpell = <function> defined =[C]:-1
 ERR_OUT_OF_CHI = "Not enough chi"
 DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
 MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
 }
 MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
 }
 GetTrainerServiceTypeFilter = <function> defined =[C]:-1
 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
 HUD_EDIT_MODE_SETTING_ACTION_BAR_HIDE_BAR_ART = "Hide Bar Art"
 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 780
 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
 LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 419
 ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community."
 RecruitAFriendFrame = RecruitAFriendFrame {
 }
 DecursiveSkipListFrameClose = DecursiveSkipListFrameClose {
 }
 TRP3_ImageBrowserContentInsetLeftBorder = TRP3_ImageBrowserContentInsetLeftBorder {
 }
 TutorialFrameLeft19 = TutorialFrameLeft19 {
 }
 MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
 }
 ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
 PVP_RANK_6_1 = "Corporal"
 BOOKTYPE_PROFESSION = "professions"
 OPTION_TOOLTIP_SHOW_MULTIBAR4 = "Attached to the left side of Right Action Bar 1 by default"
 LE_GAME_ERR_INVALID_FOLLOW_PVP_COMBAT = 373
 MerchantItem3AltCurrencyFrameItem1Text = MerchantItem3AltCurrencyFrameItem1Text {
 }
 PROFESSIONS_COLUMN_REAGENTS_NONE = "None"
 OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "A
Pazza commented 5 months ago

Fix will be published shortly.