Did you start a new game everytime you changed your scripts?
This error is most often caused by trying to load an old savegame, but 80% of the scripts NEED "new game" to initialize themselves, and if that initialization is missing the result is often "undefined XYZ for nil-class".
Second possible cause is a wrong script configuration (missing notetags, wrong variables or switches, and so on.
If that does not help you, we need links to all scripts to check them.
What is ON line 373 of Window_Base?
When you ask for help with scripts, ALWAYS include a link to those scripts.
@Andar: I ALWAYS start a new game every time. So I really don't understand why it happened
@Shaz: Sorry about that i forgot. Line 373: rect = Rect.new(icon_index % 16 * 24, icon_index / 16 * 24, 24, 24)
i did change the iconset to a biggerset but what should i do to fix the issue? go back to the old one?
check if the iconset works in a new project. If yes, you have to search for the error somewhere else. If not, then something on the new iconsheet is wrong and you need to fix that problem.
Nah, I have seen this problem so many times. There is one particular script that a lot of people seem to like using, and it OFTEN causes this error. I wonder if it's Yanfly's core script, as that's the only one in the list that seems remotely familiar.
You could use the backtracer script (I don't know the name OR the author - mental blank - but I'm sure someone will fill in the details) to find out what script is calling that method.