Error: 'refresh' of undefined

So, I've been testing and building my game for awhile now and I've just recently started getting this error:


"TypeError, Cannot read property 'refresh' of undefined"


Has anyone seen this before? For reference, I have a TON of Yanfly plugins. I have played with them all on countless times. I don't feel like I've made any changes lately that would have affected the game... but obviously something has. 


Any suggestions?
Open the console and post the error
Too me a minute to figure it out. Is this what you're looking for? Also, I had a thought. I added some stuff to the map (a chest, a couple enemies), could that have causes this error?


rpg_managers.js:1618 TypeError: Cannot read property 'refresh' of undefined
    at Function.BattleManager.refreshStatus (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/rpg_managers.js:2046:23)
    at Game_Actor.<anonymous> (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/plugins/ellyestatesdamage.js:211:31)
    at Array.forEach (native)
    at Game_Actor.Game_Battler.ProcessEllyeStatesDamage (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/plugins/ellyestatesdamage.js:170:23)
    at Game_Actor.Game_Battler.onTurnEnd (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/plugins/ellyestatesdamage.js:164:14)
    at Game_Actor.turnEndOnMap (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/rpg_objects.js:4163:14)
    at Game_Actor.onPlayerWalk (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/rpg_objects.js:4122:14)
    at Game_Party.onPlayerWalk (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/plugins/YEP_CoreEngine.js:1169:24)
    at Game_Player.updateNonmoving (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/rpg_objects.js:7722:24)
    at Game_Player.update (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/rpg_objects.js:7642:14)
    at Game_Player.update (file:///C:/Users/Tyler/Documents/RPGMV%20Games/Dungeons%20of%20Destiny/js/plugins/YEP_SlipperyTiles.js:151:36)
It looks like it has something to do with Ellye State Damage. If you post the link to this plugin I can try to make a patch.


Or better yet you can ask the author to fix this bug if they're still around.
This is the plugin I'm using:


http://pastebin.com/TiJxL4xi


It's strange that I'm getting an error with it now. I've been using it for quite some time.
There are three possible reasons for the "undefined" errors - either


1) you loaded a savefile that is from before the last script you added (a lot of scripts require the setup by "new game" and make older saves incompatible), or


2) you have configured that script wrong (for example by setting a notetag to something that doesn't exist), or


3) you added another script that is incompatible to one of the scripts listed in the console error message
Well, I only know a little about JS, but I can probably tell you quite safely that the first 2 are fine. I've been working on balancing the enemies, so I've started a new game several times. The script seems to work as intended and I followed the instructions to a "T" when I was setting it up.


The third could certainly be an issue though. It definitely started happening after the plugin began to be used (states using the script were afflicted on a character).


Hopefully DreamX can come up with a solution as he suggested. I'd be very grateful!
I remember using that plugin too and if I recall right, I think it was incompatible with one of Yanfly's Plugins. Not sure which one though. Do you use YEP - Buffs & States Core?

Original thread: https://forums.rpgmakerweb.com/threads/error-refresh-of-undefined.65362/