Error concering Fomar's ATB and Window_Base

Apparently, the game crashed whenever a battle begins. This is the error the command gives me;

[IMG]http://i.imgur.com/TmIko8W.png[/IMG]

The error text itself says:

Script 'Window_Base' line 473: NoMethodError occured.

Scripts: Fomar ATB http://www.rpgmakervxace.net/topic/802-ace-battle-engine-add-on-atbstamina-system/

Yanfly state manager: http://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/buff-state-manager/

The Yanfly battle engine: http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/

Error has been duplicated with just the Fomar ATB, Yanfly state and yanfly battle engine. Removing states does not fix the error.

Any help fixing the issue is greatly appreciated.
please link to the scripts you're using, especially that "buff and state manage" script that has the error.
Added.

Edit: Added some more info concerning a error recreation.

Original thread: https://forums.rpgmakerweb.com/threads/error-concering-fomars-atb-and-window_base.22491/