I deleted the cache now. But I re-downloaded it, I replaced the plugin I had with the one I downloaded (by copypasting), tried again and it still happens...
I'm looking at my uploads and it's the exact same one that's been updated. If it's not working for you, I suggest you don't use Quick Macros then.
Spoiler
TypeError: Cannot read property 'loseBattle' of null
at Game_Actor.Game_BattlerBase.getTpEval (/C:/Users/mikhail/Documents/RPGMV/Asphodelus/Asphodelus/js/plugins/YEP_EnhancedTP.js:2918)
at Game_Party.allMembersGainTp (/C:/Users/mikhail/Documents/RPGMV/Asphodelus/Asphodelus/js/plugins/YEP_EnhancedTP.js:3115)
at Function.BattleManager.endBattle (/C:/Users/mikhail/Documents/RPGMV/Asphodelus/Asphodelus/js/plugins/YEP_EnhancedTP.js:2765)
at Function.BattleManager.processDefeat (rpg_managers.js:2305)
at Function.BattleManager.checkBattleEnd (rpg_managers.js:2244)
at Function.BattleManager.checkBattleEnd (/C:/Users/mikhail/Documents/RPGMV/Asphodelus/Asphodelus/js/plugins/YEP_BattleEngineCore.js:1433)
at Function.BattleManager.update (/C:/Users/mikhail/Documents/RPGMV/Asphodelus/Asphodelus/js/plugins/YEP_X_BattleSysCTB.js:844)
at Scene_Battle.updateBattleProcess (rpg_scenes.js:2050)
at Scene_Battle.update (rpg_scenes.js:2042)
at Scene_Battle.update (/C:/Users/mikhail/Documents/RPGMV/Asphodelus/Asphodelus/js/plugins/YEP_BattleEngineCore.js:3895)
at Scene_Battle.update (/C:/Users/mikhail/Documents/RPGMV/Asphodelus/Asphodelus/js/plugins/YEP_VictoryAftermath.js:817)
at Function.SceneManager.updateScene (rpg_managers.js:1673)
at Function.SceneManager.updateMain (rpg_managers.js:1641)
I get this when a battle ends on either loss or win
View attachment 32298
Since I cannot reproduce the error, I'm going to ask you to do the following.
1. Download all the newest updates of the plugin.
2. Create a new project. Do NOT just copy over your game project folders. This should be just a stock, empty, new RPG Maker MV project.
3. If the project's file size is above 200 MB, remove unnecessary audio and image files until you reach that size. Use
http://forums.rpgmakerweb.com/index.php?/topic/47985-mvstripper-remove-unused-assets-from-your-mv-project/ if you need some help doing so.
4. Install -only- the affected plugins. If you're using non-YEP plugins, do NOT include them.
5. Do -NOT- rename the plugins' filenames. They cease to work if you do so.
6. Make sure they're in the right order listed on
http://yanfly.moe/yep/
7. Recreate the error.
8. Archive the project with WinZip or WinRAR. Do not archive it multiple times. It does not compress it further.
9. Upload the project online (do -not- deploy it) to a website like MediaFire.com or Mega.co.nz or Dropbox.
10. Post the link here and I'll take a look at it.
Thanks for helping!