Line 52 Error

For some unexplained reason whenever I try to start a new game It proceeds to give me this type error. I am unsure what has caused this and I am desperate to find a solution. I have tried replacing the files with a backup which has not worked at all

MhevCi.jpg
Try a new project -> test. Copy graphics and scripts over -> test.
is the problem still there?
Did you alter/reduce your starting party by deleting actors from the Actors tab rather than from the System tab?

Which files did you replace with a backup? Did you close the project while you were doing that?

If you get that error then close the error window (and the play test), you should be able to hit F11 and go to that line in the script. What is that line doing?
No. Turns out it was because I caused an issue by making the KO state add resistances to all shape shift states - in relation to this script
http://himeworks.com/2013/09/effect-shapeshift/

Original thread: https://forums.rpgmakerweb.com/threads/line-52-error.90940/