There is a variable was supposed to exist, but it doesn't (it is undefined). The error was brought up because the plugin was trying to get a value from the variable, "length", but the variable is undefined, so it's impossible. The error is thrown to indicate that the job it was given failed to happen. As for fixing it, I have no experience with Yanfly scripts so I'm not sure what this problem may be. Did you properly set up the plugin? Yanfly plugins are typically very well made.
I'm not sure what is was but I messed around with the setting in the plug-in manager and it is now working. Thank you for pointing my attention in the direction of fixing my problem