Error on login
f90 opened this issue ยท 2 comments
Describe the bug
On first startup, I get error
Message: Interface\AddOns\CommunityDKP\init.lua:178: attempt to index field 'DB' (a nil value)
Time: Mon Jun 29 00:06:35 2020
Count: 1
Stack: Interface\AddOns\CommunityDKP\init.lua:178: attempt to index field 'DB' (a nil value)
(tail call): ?
Interface\AddOns\CommunityDKP\init.lua:178: in function `filterFunc'
Interface\AddOns\ElvUI\Modules\chat\Chat.lua:1192: in function `ChatFrame_MessageEventHandler'
Interface\AddOns\ElvUI\Modules\chat\Chat.lua:1902: in function `DisplayChatHistory'
Interface\AddOns\ElvUI\Modules\chat\Chat.lua:2367: in function <Interface\AddOns\ElvUI\Modules\chat\Chat.lua:2320>
[C]: ?
Interface\AddOns\ElvUI\Core\Core.lua:1222: in function `CallLoadFunc'
Interface\AddOns\ElvUI\Core\Core.lua:1237: in function `CallLoadedModule'
Interface\AddOns\ElvUI\Core\Core.lua:1263: in function `InitializeModules'
Interface\AddOns\ElvUI\Core\Core.lua:1549: in function `Initialize'
Interface\AddOns\ElvUI\init.lua:144: in function <Interface\AddOns\ElvUI\init.lua:143>
[C]: ?
...\ClassicGuildBank\libs\AceAddon-3.0\AceAddon-3.0.lua:70: in function <...\ClassicGuildBank\libs\AceAddon-3.0\AceAddon-3.0.lua:65>
...\ClassicGuildBank\libs\AceAddon-3.0\AceAddon-3.0.lua:527: in function `EnableAddon'
...\ClassicGuildBank\libs\AceAddon-3.0\AceAddon-3.0.lua:620: in function <...\ClassicGuildBank\libs\AceAddon-3.0\AceAddon-3.0.lua:605>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:353: in function <Interface\FrameXML\UIParent.lua:352>
[C]: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:424: in function `TimeManager_LoadUI'
Interface\FrameXML\UIParent.lua:693: in function <Interface\FrameXML\UIParent.lua:658>
Locals: <none>
To Reproduce
Steps to reproduce the behavior:
- Have existing Monolith DKP installation as well as ElvUI
- Install CommunityDKP (NO saved variables files)
- Activate all three addons mentioned above
- Login and get error message along with the popup from CommunityDKP asking about Monolith import
- After import of Monolith DB and relogging with Monolith DKP deactivated, the same error pops up on each login
CommunityDKP Version
Addon version 3.0.1-r32
This is happening because you are receiving or sending a whisper almost immediately upon login. I can add a check for that.