Problems with items randomly duplicating

Just like the title says, some equipment items in my inventory keep randomly doubling. It's not from pickups being wrong,
it's not from multiple drops from battles, I will just randomly check my inventory and have extra items in there. I cannot consistently reproduce the issue reliably. It seems to be completely random what items gets duplicated or if it happens at all after repeating the same actions over and over.

I am using a few Yep plugins that deal with inventory management so i guess that could be it.

I just really want to know if other people have had this problem and if there's a way to make it stop.
This has been around for years. I have some extra code installed in my project to try to troubleshoot it, but I haven't had any luck yet.

It's almost definitely something buried in one of the Yanfly plugins (or an interaction between them) - I've only ever seen people reporting the issue who use that suite.
Plus we don't know anything about how you ordered all of those Yanfly plugins in your game project.
admittedly they could be moved around a bit, but i made sure to keep all the core stuff at the top
admittedly they could be moved around a bit, but i made sure to keep all the core stuff at the top
and that is both wrong.

yanfly's plugins have to be in the order given on his website in the main list, and are known to have random effects if not in that specific order.

and one part of that order is that all add-ons have to be directly below their specific core, which of course moves the later core files toward the bottom of the list.
and the order of the core+add-on blocks also has to follow the order on yanfly.moe

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-items-randomly-duplicating.159438/