WOW Classic lua error pcd.lua:398: attempt to index local 'skillName' (a nil value)
fireymerlin opened this issue ยท 4 comments
1x ProfessionCooldown/pcd.lua:398: attempt to index local 'skillName' (a nil value)
[string "@ProfessionCooldown/pcd.lua"]:398: in function UpdateCharacterProfessionDb' [string "@ProfessionCooldown/pcd.lua"]:490: in function
InitDbTable'
[string "@ProfessionCooldown/pcd.lua"]:225: in function GetCooldownsFromSpellIds' [string "@ProfessionCooldown/pcd.lua"]:171: in function
UpdateCds'
[string "@ProfessionCooldown/pcd.lua"]:157: in function `UpdateAndRepaintIfOpen'
[string "@ProfessionCooldown/pcd.lua"]:51: in function <ProfessionCooldown/pcd.lua:49>
I thought another addon was causing this, but I started getting the error again.
Thank you for reporting the issue.
Can you try out this build, to see if it solves the issue for you? I can't seem to reproduce the issue, but hopefully this change fixes it.
https://github.com/Shape-addons/ProfessionCooldown/blob/1-31-null-fix/ProfessionCooldown.zip