Event issue in RPG Maker MV

Ok here is a wierd issue I'm getting on this event. I set up an event for a boss battle but when it starts the battle processing it crashes the game with a type error. I have attached ajpeg of the type error and the console. I'm using almost all of Yanfly's Plug-ins and this didn't show up till today. I went through this battle before about two weeks ago and no issues.

Event issue.JPG
Try replacing that sprite with a new version, it may be corrupted or damaged.
I had many files do this a while back and almost lost my project, but I simply replaced files. It kept popping up a different so I kept replacing that one with a new version of the same file, and it fixed everything.
Ok thanks I ended up deleting the whole troop and re built it and it is working now thanks again for the quick reply.

Original thread: https://forums.rpgmakerweb.com/threads/event-issue-in-rpg-maker-mv.55856/