Battle Error

So I am using Yanfly plugins and they were working fine until there is this problem:

All scripts are in their default modes, and when I try to use a single target spell (even including members' autoattacks) when there are multiple enemies the game shows a screen with ''Type Error undefined is not a function'' and I do not how to fix that.
Hit f8 to show the console and post a screenshot of the console. That way we'll know better where the problem is.
Oh I completely forgot, it turned out to be a problem with the target core. Disabling most of the things like AoE option ob single target spells fix that.

I found that out rather late.

Original thread: https://forums.rpgmakerweb.com/threads/battle-error.78866/