Yep Weapon Unleash broke enemies with AI core form Yep

Hi everyone!
I have a problem with Yanfly Battle AI core.
In my game I have enemy that always heal ally with lowest HP.
And I was trying to apply a Yep row formation, Selection control, Target core, and Weapon Unleash.
The problem is when I start a battle
the error pop:
,,Undefined is not a funcion"
Before I add that plugins everything was OK.
So, I was swithing on and off and I know that the problem is with Weapon
Unleash. When everything is on (except Weapon Unleash) It works.
My plugins are in the good order
Did you start a new game or did you load an old save before that error happens?
If this happens with a new game, post screenshots of your plugin manager and tell us both the version numbers from your editor and from the projects rpg_core.js file - those are two numbers that are not automatically identical.

Original thread: https://forums.rpgmakerweb.com/threads/yep-weapon-unleash-broke-enemies-with-ai-core-form-yep.94308/