This error message appears after I hit "Cancel" in the exit menu

rpg maker ERROR WHAT.png

This only happened after I inserted a certain script. I haven't seen anyone else with this problem before. What does this mean? How do I fix this?
best guess is that the script is copied incomplete or simply damaged - it might have helpßed if you told us which script and gave a link to its website.

there are other possibilities but we can't even guess without more info.

Original thread: https://forums.rpgmakerweb.com/threads/this-error-message-appears-after-i-hit-cancel-in-the-exit-menu.176003/