MV Please Help: "TypeError: Cannot read property 'x' of undefined"

I have this part in my game, where the positioning of characters switches around after a cutscene. I do this using the "Save Event Position" plugin by Shaz. Since today after the cutscene, this error message started popping up.
Screenshot (183).png


Disabeling the plugin fixes it, it's essential to the gameplay though. I've compared it with a backed up version from 4 days ago (my backed up version from yestarday has the same issue) where the problem doesn't occur. I compared the event, that triggers the plugin with the old version and haven't found any differences. As I have no knowledge of JS I'm pretty stumped.

Does anyone have any ideas? Many thanks in advance!
So what are you trying to achieve your cut scene?

And whats your event set up for it?
So what are you trying to achieve your cut scene?

And whats your event set up for it?
the game takes place at a house party mostly contained in one room. theres a time management aspect to it. after a certain amount of time a cutscene plays, some people leave the party, some enter and some switch places. it's using an event that changes the guests event position and uses the plugin command to save the new coordinates. this has up until now worked for months.
Welcome!

1 - per the section guidelines, please provide links to the plugins you're asking for help with.

2 - you shouldn't rename plugins. Per Shaz's post, this should be SaveEventPosition.js

3 - you shouldn't have spaces in the file name of anything in your project. Spaces and other non-URL characters can cause your deployed game to crash

After fixing that, please show a screenshot of how you're trying to use the plugin command in your project. The error is saying there's no event with the ID you specified.
Welcome!

1 - per the section guidelines, please provide links to the plugins you're asking for help with.

2 - you shouldn't rename plugins. Per Shaz's post, this should be SaveEventPosition.js

3 - you shouldn't have spaces in the file name of anything in your project. Spaces and other non-URL characters can cause your deployed game to crash

After fixing that, please show a screenshot of how you're trying to use the plugin command in your project. The error is saying there's no event with the ID you specified.
For one, I fixed it. It was a really REALLY dumb mistake. I had two events named very similary and didn't notice I was calling for the wrong one.

2. That's odd. I'm sure I didn't rename it. Maybe an older version or alternative download? It also seems to be the only plugin I have containing spaces. Do you recon I should delete the spaces or look for another version?

3. Thanks for telling me. I already had to replace a bunch of umlauts in my image files (given the game is in german) when I peloyed a version for the first time. The spaces haven't caused any issues so far, should I still go back and replace them all (given that would be a lot of extra work)?

Thanks so much. This is my first serious project and given that most of this is still new to me.
The name has nothing to do with the contents - just rename the file, delete and add it to your plugin manager again, save the project.

should I still go back and replace them all (given that would be a lot of extra work)?
Yes. You may want to do some reading on how to use Windows' command line to do batch renames, and programs like Notepad++ can do a search and replace in the contents of your data folder to replace wherever those files are referenced by your project.
The name has nothing to do with the contents - just rename the file, delete and add it to your plugin manager again, save the project.


Yes. You may want to do some reading on how to use Windows' command line to do batch renames, and programs like Notepad++ can do a search and replace in the contents of your data folder to replace wherever those files are referenced by your project.
Alright! One more thing on the list I guess
Welcome!

1 - per the section guidelines, please provide links to the plugins you're asking for help with.

2 - you shouldn't rename plugins. Per Shaz's post, this should be SaveEventPosition.js

3 - you shouldn't have spaces in the file name of anything in your project. Spaces and other non-URL characters can cause your deployed game to crash

After fixing that, please show a screenshot of how you're trying to use the plugin command in your project. The error is saying there's no event with the ID you specified.
Lol, I know it's been a while but I checked on it now and the Plugin really was named "Save Event Position.js" as seen in this link:
I take it renaming it and removing these spaces is still required?
Lol, I know it's been a while but I checked on it now and the Plugin really was named "Save Event Position.js" as seen in this link:
From Shaz's post:

1731880429483.png


And yes, that post also says the name is irrelevant due to no plugin parameters, but note:
I take it renaming it and removing these spaces is still required?
All filenames in your project (plugins, images, audio) need to conform to URL specifications.

Not doing that (having spaces or other special characters in the filenames) will cause file loading errors once you've deployed the game.
From Shaz's post:

View attachment 323253

And yes, that post also says the name is irrelevant due to no plugin parameters, but note:

All filenames in your project (plugins, images, audio) need to conform to URL specifications.

Not doing that (having spaces or other special characters in the filenames) will cause file loading errors once you've deployed the game.
Thanks! 👍

Original thread: https://forums.rpgmakerweb.com/threads/please-help-typeerror-cannot-read-property-x-of-undefined.171103/