there are exactly two things that usually cause typeerrors: either you forgot to start a new game, or two of your plugins are incompatible to each other.
Try to start a new game after turning off one of your plugins. if the error persists, turn off the next plugin until the error goes away.
Record the name of the plugin you turned off last - that is one of the problematic ones.
Then find the other by turning all plugin on and continue but do not turn off the one already found. when the error goes away a second time you have found the other plugin involved.
Then return here with links to both of those plugin webpages and ask again for help making them compatible.
Hey Andar thank you for your reply and sorry it took me so long to get back. I went through my scripts one by one turning them off and testing the game to see, but even after they have all been turned off I am still unable to test the game. I'm not sure what else to do. Any extra help is much appreciated thank you.
I also meant to ask what you meant by "forgot to start a new game" could you elaborate on that for me? For instance was I supposed to start completely over after updating rpg maker? Because it worked before I updated the program and after I updated it I followed the instructions of starting a new game and copying the js lib files from the new game to my old one.
"Start a new games" means using the "new game" line in the title screen after you added new plugins.
A lot of plugins (and every more complex one) need to setup their data, and that is done by newgame before saving it into a savefile.
This also means that all older savefiles become incompatible, and "Undefined is not a function" is one of the possible error messages (the other is about NIL:Class) that can happen (even after some playtime) when you add a new plugin and then load an older save file instead of starting a new game.
It has nothing to do with a new project or copying the files from a new project to update your old project, but that update of course also requires you to start new games after that.
Oh okay. Well thank you for clarifying that for me. I just got it to work now though finally. I went and started a new project and did a play test on that then saved the file then I went and took the js files (main, plugins, rpg_core, rpg_managers, rpg_objects,rpg_scenes,rpg_sprites,rpg_windows) from the new one and used those to replace the ones in my other project. Then I also copied the index from the new one into the old one and loaded up the project and did a play test and now this time it actually let me open the play test and run it, so in short that fixed my problem. (Although now I have to redo my intro to the new game for some reason, but that's the least of my problems) Anyways thank you so much for your help!