Changed name in .json random errors?

So I went through my game's .json files and replaced all instances of "quest" to "Quest"... I'm getting this one error but I'm not sure what is going on as it doesn't directly tell me anything I need to fix...
wtf.PNG
Because in the one instance where the error happened, the quest was not a text but part of a function name. And function names are different between lower case and upper case, making the change name unusable and causing the error.

you need to find that specific case and change it back there.
Because in the one instance where the error happened, the quest was not a text but part of a function name. And function names are different between lower case and upper case, making the change name unusable and causing the error.

you need to find that specific case and change it back there.
Is there a way for the Console to show me exactly which I need to fix?
Is there a way for the Console to show me exactly which I need to fix?
Not really - or to be precise not without a good basic in programming knowledge.

You would have to follow the trace to get to the original cause of the error - which is problematic because the console only says that it is part of an event (Control variable script error, which means that it is in a control variable command, and using a script line option in that command).

If you can find that event and give a screenshot of its event page with that command based on when the error happens, then you have a chance of finding this case - but it will not be easy.

And that is why you should never mass-edit json files, only edit single cases where you know what they're used for...

EDIT: A much better solution would be if you made a backup before the changes and use that again, this time only editing what you know to be a text and leaving the function versions alone.
But I'm guessing you didn't make such a backup before changing, or you wouldn't be here with this problem...
Not really - or to be precise not without a good basic in programming knowledge.

You would have to follow the trace to get to the original cause of the error - which is problematic because the console only says that it is part of an event (Control variable script error, which means that it is in a control variable command, and using a script line option in that command).

If you can find that event and give a screenshot of its event page with that command based on when the error happens, then you have a chance of finding this case - but it will not be easy.

And that is why you should never mass-edit json files, only edit single cases where you know what they're used for...

EDIT: A much better solution would be if you made a backup before the changes and use that again, this time only editing what you know to be a text and leaving the function versions alone.
But I'm guessing you didn't make such a backup before changing, or you wouldn't be here with this problem...

I have a backup in my SD card and another in my USB, I just realized I could go back and look through them. Thank you, not messing with these files again unless I replace text carefully.
unless I replace text carefully.
basically going through the files one step at a case should be enough as the differences between text and code become obvious rather quickly if you read what stands there.
Only mass-replace or clicking through <next> without reading results in mistakes like what you got.

Original thread: https://forums.rpgmakerweb.com/threads/changed-name-in-json-random-errors.119247/