MZ Plugin compatibility error

Hello! 😊
I´ve come here as a last resource because I dont know what could be wrong with these two plugins and their compatibility with eachother? I´m extremely new to the engine and ive been fooling around with getting some working plugins first before laying down the fundaments and all to the game. So First I´ve been testing out plugins of all kinds and keeping the ones that I like and want to use, but I´ve found a problem.

Spoiler: plugins name (scr)
1709450932541.png


These two plugins seem to conflict with eachother. I´ve tested by turning each of the plugins off and on and these two only work when the other is not on. I really want to keep them both on my game 😢

The error it shows on the screen as I playtest, then click on ¨continue¨, then load my file, is a type error:

Spoiler: error screen (scr)
1709451115005.png

As I´ve researched online Its supposed to be caused by a calling of a file that is not on the game folders/doesn´t exist, but I haven´t set up any calling of any files outside of the SE used for the first plugin shown above- (Theo_TypingSoundMZ) - and I havent set up any plugin commands or files for the LayerGraphics plugin.
This is what shows up on the DevTools

Spoiler: devtools (scr)
1709451388909.png

If anyone can provide any kind of help with this I would be really, really thankful
And also pleasee do bare with me if it turns out to be a ridicously easy to fix problem, I would want to defend myself in the argument that this is the first time i touch any sort of game making at all

Thanks for your attention! 🙏
I have moved this thread from RPG Maker MZ Support to JavaScript/Plugin Support.
Technically, that cannot read property '1' of undefined error implies that the layerSettings object that Galv's plugin creates on the map has been removed since the map was initialised. That seems very specific...perhaps another plugin uses a property with the same name, or overrides Game_Map#initialize after Galv's plugin has loaded. Theo's plugin doesn't seem to do anything like that, though.

Generally you should test from a new game, rather than continuing from a save, especially if you have added or removed plugins since making the save.

I notice you're using at least one other plugin (GabeMZ_StepSound) based on that console screenshot. In that case the real conflict might involve other/different plugins.

Have you tried turning off all plugins except for Theo_TypingSoundMZ and GALV_LayerGraphicsMZ? Remember to save your project to apply Plugin Manager changes before testing. Do you see a different error in the console? Does everything work smoothly?
click on ¨continue¨, then load my file, is a type error:
just to make it clear and repeat what was posted above:
the most common cause for type errors and "of undefined" is to load an incompatible savefile.

and both adding and removing a plugin has a high chance of making older savefiles incompatible, because most plugins need to store their data into those savefiles, and then expect them to contain that data.

so you basically need to repeat the bughunting with using "new game" and post the screenshots that happen then to see if there really is a problem between those two plugins.

and then it would help to see your entire plugin list, because sometimes other plugins are involved as well.
and both adding and removing a plugin has a high chance of making older savefiles incompatible, because most plugins need to store their data into those savefiles, and then expect them to contain that data.

Thanks so much, I managed to fix it! turns out it was a problem with the savefiles themselves and not the actual plugins. 😔
A fix so simple as just starting a new game instead of continuing the last save file! makes one feel silly.
Thank you to all who helped!
I'm glad you got it working - just as a quick mention (for your help and anyone else who comes across this thread):
As I´ve researched online Its supposed to be caused by a calling of a file that is not on the game folders/doesn´t exist
I'm not sure where you researched that, but it pretty much can't mean that.

You would get an "error file not found" if the game were trying to load a file that wasn't in your folders.

"Cannot read property of undefined" is always going to be something within the code.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-compatibility-error.166419/