"TypeError: undefined is not a function"

Title says it all. https://media.discordapp.net/attachments/414453383789805579/414460433727094784/unknown.png
Could you provide a link to the script that is mentioned in the error message.
Does this happen if you start a new game, rather than using an already existing save file?
This kind of error is common when you add a plugin then resume a game you had started & saved prior to adding the plugin.

Although ... is this when you Play Test, or are you doing a Battle Test from the troops tab? A lot of plugins don't work in battle test or event test - only when you actually play the game properly.

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-undefined-is-not-a-function.91457/