I'm getting a LUA error from a WeakAura with a custom trigger. I have started maintaining the WeakAura recently, but it's coming from an aura I haven't touched and don't understand yet.
This is the WA in question and the LUA error is coming from the Combat Timer Trigger 2.
I've attached screenshots of the error and the entire trigger. Unfortunately I can't copy the code itself as it's too long for a message. I need help figuring this lua error out please.