Shadow & Light (ElvUI Plugin)

Shadow & Light (ElvUI Plugin)

14M Downloads

Lua error when leaving combat

dvgm506 opened this issue ยท 1 comments

commented

Description

When leaving combat or returning from AFK, get a lua error.

Shadow & Light Version

ELVUI_SLE-4.77

ElvUI Version

ELVUI 13.64

Steps to Reproduce

  1. Enter combat/afk
  2. Leave combat/afk

Expected Behavior

No error?

Actual Behavior

Error message

Error Log

Message: Interface/AddOns/ElvUI_SLE/modules/afk.lua:419: attempt to index field 'db' (a nil value)
Time: Thu May  9 20:08:24 2024
Count: 1
Stack: Interface/AddOns/ElvUI_SLE/modules/afk.lua:419: attempt to index field 'db' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/ElvUI_SLE/modules/afk.lua"]:419: in function <Interface/AddOns/ElvUI_SLE/modules/afk.lua:418>
[string "=[C]"]: in function `SetAFK'
[string "@Interface/AddOns/ElvUI/Core/Modules/Misc/AFK.lua"]:151: in function `?'
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua"]:55: in function <...UI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:50>
Locals: (*temporary) = <function> defined =[C]:-1
commented

couldnt reproduce the error but made a change to help prevent the issue