Yanfly's Battle Engine Crashing

So, I've run into an issue with Yanfly's Battle Engine. It seems a specific line is having issues within the script, and when the game encounters it, the whole thing crashes. I researched it, and it was believed that the issue was caused by certain assets not being disposed of. I did try the Graphical Object Global Reference script by Mithran, but I'm still getting crashes during the battle test. During the test play, the battles don't even function at all. I don't run into a single encounter. I'm not sure what's happening, it's honestly quite frustrating.

The error happens on line 3136, where this is located:
#--------------------------------------------------------------------------
# new method: status_redraw_target
#--------------------------------------------------------------------------
def status_redraw_target(target)
return unless target.actor?
@status_window.draw_item($game_party.battle_members.index(target))
end


return unless target.actor? is the line called in the error. Any help would be appreciated.
the Graphical Object Global Reference script by Mithran
That script will show you the errors not fix them. You need to look at the gobj file in the game directory.

Yanfly battle script would not cause the battles to never be encountered, unless you have a bad copy.
Does the battle test in the editor work?

What is the actual error message?
@Roninator2 I guess I misread the purpose of the script. That being said I'm still not sure what was causing it, but I took out the custom scripts and updated them, and the issue seems to be solved.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-battle-engine-crashing.137874/