RP Macro for Hunter suddenly stopped working

I use a lot of RP macros with mostly the same setup on everything.
The exception is my hunters, who have a macro style that targets their pets specifically in order to get the hunter to call out the pet’s name in combat.

While doing some stuff in legacy I suddenly got a message about a “Lua error” or something and both my macros stopped working. Instead I get an error message every time I use those abilities.

The abilities in question is Bestial Wrath and Misdirection as well as Coordinated Assault for Survival.

The Macros look like this:

#showtooltip
/petassist
/cast Bestial Wrath
/run local p = UnitName(“pet”); SendChatMessage('Tear them apart, '… p … ‘!’,“YELL”,“COMMON”);

and

#showtooltip
/petassist
/target pet
/cast Misdirection
/run local p = UnitName(“pet”); SendChatMessage('Keep them busy, '… p … ‘!’,“SAY”,“COMMON”);

#showtooltip
/petassist
/use Coordinated Assault
/run local p=UnitName(“pet”);SendChatMessage("Remembah how we practiced this! Let’s get them, "… p … ‘!’,“YELL”,“ORCISH”)

It simply a yell or a say that calls out a line together with the pet’s name.
I know Blizzard is going to do things to the stuff that makes Weak Aura function, but this is just a macro, how can it be affected? I don’t understand what has happened or why it’s not working anymore. Anyone have any idea what to do here?