when I click any of the Button actions. This is a rule I've had a long time. I haven't been doing any programming for a while and started revisiting today. This also happened on a newly created rule. I deleted and tried again and it worked ok. I'd rather not delete this rule if I don't have to.
Do you have a backup from when it didn’t give this error? Depending on how far back that was, you might be able to export the working rule, then import it.