Odd Error

I was testing my game as I normally did, and I came across this strange error prior to starting up:


Is there a reason it occurs?
If you do not tell us which kind of error you get, it is very hard to answer your question. How are we supposed to know what happens on your computer without you telling us?
If you do not tell us which kind of error you get, it is very hard to answer your question. How are we supposed to know what happens on your computer without you telling us?
Apologies, the picture never showed up.
My DataManager script only has 379 lines. How can you have 1104 lines in yours? What scripts do you have? If you close the error window and go back to the editor, then hit F11, it should take you straight to the line that gave the error. Could you please post a screenshot of that?

In future, please use meaningful thread titles. Some words from the error message would be helpful rather than just "odd error".
My DataManager script only has 379 lines. How can you have 1104 lines in yours? What scripts do you have? If you close the error window and go back to the editor, then hit F11, it should take you straight to the line that gave the error. Could you please post a screenshot of that?

In future, please use meaningful thread titles. Some words from the error message would be helpful rather than just "odd error".

Currently I’m not at home but I actually have a little over 1500 lines. I have multiple scripts but they only add features such as crafting or change the way character pictures are displayed. I will get the error ASAP.
I think that what @Shaz means is that the maximum number of lines of your DataManager script should be much less than 1104.
index.php

If your data manager script has more than this amount of lines, you put something in it that you should not have copied there. That is what might be causing the error. Try starting a new project, copy the DataManager script in your clipboard, then paste it in your real project. That should solve the issue. If there is any script that interacts with DataManager, just copy it below Materials, do not paste it directly in the DataManager script.
If you are adding more and more scripts, they should go in the correct section - under Materials and above Main, where it says (insert here). Adding them in the wrong place will cause issues, and will make it extremely difficult for people to compare your 'core' scripts with theirs.

Please fix your scripts then see if you still have the error, then post back with the details.
Scripts also do not go in the same script slot. Each script needs to be in it's own slot.
*in case there was any confusion on that.

Original thread: https://forums.rpgmakerweb.com/threads/odd-error.109177/