Please post a screenshot of the common event and the skill for us to check, and link to the script you're using.
From the type of the error, that is either a wrong command given, a copy/paste error on the script editor or an incompatibility with another script.
The problem is that most battlescripts cannot change the party during battle - and that is especially problematic if done by eventing.
Usually you'll need a summoning script that is compatible with the battlescript.
The reason is that actor data is initialised on starting the battlescreen - actors who get into battle after that don't have their data initialized, and that causes problems with most battlescripts. A compatible summoning script is one that handles the correct initialisation when the new actor is added.
It's a general problem with Vlue's Summon script and some battle scripts, I've seen. It has to do with how it replaces actors, I think?
Have you tried moving the Summon script around a bit?