This would be something to ask YYG support about - there is not a single mention of "var" in either of two macros that it complains about.
Thanks! I went through the script also and couldn't see anything that jumped out. I'll reach out to YYG.