LenweSaralonde / Musician

Add-on for World of Warcraft to perform music in game.
https://musician.lenwe.io
GNU General Public License v3.0
11 stars 4 forks source link

[Bug] Lua error with ElvUI module #97

Closed LenweSaralonde closed 10 months ago

LenweSaralonde commented 10 months ago

Description

ElvUI giving lua errors when you target friendly questgivers or untarget enemies as well as sometimes targeting players

Reproduction steps

Target / untarget friendly and unfriendly units

Actual behavior

LUA error sometimes pops

Expected behavior

No error shows up

Screenshots

No response

World of Warcraft flavor

Retail

World of Warcraft version

10.1.7

Add-on version

1.9.8.8

Have you tried disabling all your other add-ons to ensure only this add-on causes the issue?

Yes

Additional context

Message: ...an/modules/MusicianNamePlates/MusicianNamePlates.lua:495: attempt to index local 'textElement' (a nil value)
Time: Wed Oct 25 18:24:46 2023
Count: 1
Stack: ...an/modules/MusicianNamePlates/MusicianNamePlates.lua:495: attempt to index local 'textElement' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/Musician/modules/MusicianNamePlates/MusicianNamePlates.lua"]:495: in function `AddNoteIcon'
[string "@Interface/AddOns/Musician/modules/ElvUI/ElvUI.lua"]:14: in function <Interface/AddOns/Musician/modules/ElvUI/ElvUI.lua:11>

Locals: (*temporary) = <function> defined =[C]:-1