Error with Yanfly's Weapon Unleashed Plugin

I'm trying to get it so when ever an actor gets a state their attack is replaced by a skill, however this happens when the game goes to use it:
Error.PNG
Moved to: Javascript/Plugin Support
Please edit your post to include a link to the web page where you got that plugin. That way if people need to check something before giving a suggestion, they won't have to go hunting.
Also, are your plugins in the correct order?

Original thread: https://forums.rpgmakerweb.com/threads/error-with-yanflys-weapon-unleashed-plugin.110897/