Yanfly's Battle Engine causing error

I am trying to use Yanfly's Ace Battle Engine but keep getting the following message whenever I try to playtest my game:

                  Script 'YanBattleAce' line 259:NoMethodError occurred.
 

                  undefined method '[]' for nil:NilClass

I've added the Ace Core Engine v1.08 and Ace Battle Engine v1.23 as well as Visual Battlers v1.01 (in that order and in the location specified -below materials and above main).

Any advice on how to fix this is appreciated.
When do you encounter the error, right after hitting playtest?

btw, where did you get 1.23? I checked his scripts and his battle engine is 1.22

in that version, line 259 is a comment line... so it shouldn't give an error...
I got the battle engine off from : http://yanflychannel.wordpress.com/rmvxa/

Got taken there by a link in the Master Script thread. On that page it lists Ace Battle Engine v1.23.

As for when the error pops up it happens after I hit playtest. The game starts to load then aborts and gives me the message shown in my original post.
must be a typo on his script, he put 1.22 in the script header...

the error is weird because that line is just a comment line...

btw, do you have any other scripts in your project?
There was a bug in v1.23 Archeia suggested to revert to v1.22.

http://yanflychannel.wordpress.com/2012/08/24/yea-bug-fixes-iii/
Scripts I'm running = Ace Core Engine v1.08 , Ace Battle Engine v1.23 , Visual Battlers v1.01 (in that order and in the location specified -below materials and above main).

As for which version of Ace Battle Engine to run:

1. I've read the .rb file and it says it is v1.22, even though the DL page said v1.23.

2. Where can I get a copy of v1.22 if Yanfly's page links to v1.23?
http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/
Yanfly's linked script is actualy 1.22... Only the page says 1.23...

so basically, you don't have any other scripts running from other scripters? hmmm...

now that's weird... are you sure you didn't modify anything?
Haven't modified anything. Even removed the script, downloaded another .rb file and re-entered it. same error.

and no other scripts.

Hrrm.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-battle-engine-causing-error.15530/