All characters suddenly have 1 max stats?

Loading up my game today, all my characters and enemies have 1 maxhp, 0 MP, and i assume 1 or 0 in all the other stats as well. Any idea what would cause this?

The formula for my stats are: (base + plus) * paramRate * buffRate + flat (using Yanflys base parameter control).
The maximum for my stats are: customMax || (user.isActor() ? 9999 : 999999)
The values for hp should be around 100.

None of the characters, weapons, armour etc have anything that should affect HP. This effect persists in both battle testing as well as play testing the game itself.
every time you multiply by a *rate* of any kind, make sure all the variables involved are floats, or the results of their operations are floats, otherwise they'd be rounded to the nearest integer.... which if we're talking 0.5, is 1.
So i cant find anywhere that has anything that should multiply the stat rates, certainly not for ALL stats. I tried disabling my plugins 1 at a time, and that also changed nothing.
I tried plugging all of my characters, enemies, skills, common events, items, weapons, actors into a different game, and they all functioned fine. I have a suspicion that something somewhere is interacting with the plugin to change base stats, and causing a x0 somewhere. But where this is coming from i have absolutely no idea.
I think the error is in buffrate, as I believe that is 0 when no buffs are applied.
Ok so i've copied the entire project into a brand new save file, altered all the plugins to be identical. Everything now seems to run fine? As far as i can tell both copies of the game are exactly the same, just one of them doesn't work. So for now i guess this can be a 'fix' of sorts, but i'd still love to know where any of the errors could be.

As for the buffrate reducing itself for 0. If i put in the notes section <maxhp rate: 100%> would this change that? I tried it and nothing changed, but maybe theres something else to do there.

Original thread: https://forums.rpgmakerweb.com/threads/all-characters-suddenly-have-1-max-stats.96189/