YEP: Unclear; Type error: undefined is not a function

TypeError: undefined is not a function
at Function.BattleManager.endActorInstantCast (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_InstantCast.js:368:12)
at Function.BattleManager.endAction (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_InstantCast.js:343:12)
at Function.BattleManager.startATBAction (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_X_BattleSysATB.js:1300:12)
at Function.BattleManager.endATBAction (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_X_BattleSysATB.js:1337:12)
at Function.BattleManager.endAction (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_X_BattleSysATB.js:1319:12)
at Function.BattleManager.endAction (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_BuffsStatesCore.js:1033:40)
at Function.BattleManager.endActorInstantCast (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_InstantCast.js:361:44)
at Function.BattleManager.endAction (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_InstantCast.js:343:12)
at Function.BattleManager.updatePhase (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_BattleEngineCore.js:2148:12)
at Function.BattleManager.update (file:///C:/Users/Harry%20Staarink/Desktop/Mappen/RPG%20Maker%20MV/The%20Lost%20(demo)/js/plugins/YEP_BattleEngineCore.js:1918:18)

What I get out of this is that it is a problem in the phase change of the ATB system with instant cast. Though it doesn't happen on a regular basis it does happen irregular making it a nasty bug to any game.
Yanfly's ATB plugin isn't supported anymore. As a result, it's outdated and may no longer be compatible with the other plugins.
@shockra Thnx for the information, but I ain't happy about that hahaha my whole battle system is about ATB xD

I have rearranged the instant cast plugin to be under the YEP item core, haven't seen the bug pop out so far after spamming stuff... Don't know if this is the solution or if this is just luck as the bug does happen on an irregular basis...

If anyone knows any other ideas I would love to hear them as for the next time this bug can pop up I will have some input on how to handle it.
Alright, it was just luck... Guess in the next couple of weeks I will need to go error hunting... *Sigh* I hate game breaking bugs!
All yanfly Plugins have to be in the exact order as given on bis website. A single plugin in a different position can have any random effect or
error.

That said, post a Screenshot of your Plugin manager after checking that order if you need Fürther help
Checked it and it is in order. I do have some plugins in between but the error message when hitting F8 doesn't point to any other plugins than Yan Fly's only. The problem is that it only happens to the item section and not the TP and Battle skills that also use an instant cast on enemies and/or allies. When I spam items and get unlucky (or just get unlucky) the error occurs.

KLBpeXD.png

qvqDlJD.png


Hope you can spot a flaw but I updated everything to be updated to V1.5 of MV. Would be a shame if I can't use instant cast for items because of this bug. A work around would also be welcome as I only know Yan Fly has an instant cast plugin.

Original thread: https://forums.rpgmakerweb.com/threads/yep-unclear-type-error-undefined-is-not-a-function.83422/