"TypeError: undefined is not a function"

whenever i use an item in combat (in the screenshot, it was the default potion) , i get this error:

"TypeError, undefined is not a function"

aQozXFh.png
Which plugins are you using? Could you provide a screenshot of the item in the database so we can see all the settings?
Please could you post an screenshot of the console (press F8 to open it)

That would really be helpful...
Console:

BN1Kwin.png


Plugins

Tm915u7.png
i fixed it just turning off "YED_TransferStealStates" as i saw on the console... Thanks!
It seems my transfer & steal states caused the trouble, will check it asap
I have fixed the problem, please download the YED_TransferStealStates plugin again and turn it on 😉
Moving over to Javascript/Plugin Support
hey can u help me
wew - Copy - Copy.jpg
You should start your own thread instead of necroposting and hijacking someone else's. Undefined is not a function can happen for hundreds of reasons, and the solution to your problem is VERY unlikely to be the same as the person who started this thread.

Did you read the messages in your screenshot? The first problem is that your project files are out of date and you need to update them.
The second problem is that you possibly added a plugin then resumed a saved game - I can only guess at that because you've given absolutely no information about your project or when this happens.
The third problem is possibly that you're using Battle Test instead of Test Play, and a lot of plugins won't work in Battle Test, but again, no information given.
Necro-post notice: radhubagas

Please start a new thread, giving as much detail as possible. Though I would suggest that first you follow Shaz's suggestion and update your plugins. Then try with a new game, rather than picking up from an old save file. If that doesn't work, then post with the new error message.

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