VXAce Help with Error

Hey, I hope this is the correct sub for this question, im sorry if not, this is my first post.
I use the Yanfly Battle Engine Script and whenever an attack is critical this error appears.
Does anyone know what to do?
I only changed the english texts like 'miss' and 'weakness', no other scriptline and the word 'critical' neither.

Thanks for reading.



error1.png
error2.png
It's a bit hard to tell without seeing what exactly you've edited in your script, but it seems like the script can’t find an entry inside POPUP_RULES.

Make sure you're not changing the text within the POPUP_RULES hash in line 332.

Ruby:
POPUP_RULES ={
  "DEFAULT"  => [2.0, 1.0, 24, true, false, 255, 255, 255, DEFAULT],
  "CRITICAL" => [2.0, 1.0, 24, true, false, 255,  80,  80, DEFAULT],
  ...
}

^^^ (Do not change anything there!)

If you'd like to translate or rename any of the popups, it should be done in POPUP_SETTINGS, in line 287.
Did you try testing with a brand new game save file after adding the script?

Original thread: https://forums.rpgmakerweb.com/threads/help-with-error.182550/