Dealing with Conflicts (can't read x of undefined)

I've found one of the more significant issues in getting plug ins to work together appears to be when one plug-in somehow ends up checking for a variable in one that doesn't exist in the other.

In example, using the Galv crop plug ins combined with Moghunter's Chrono engine I find that if a projectile event from the Chrono engine is present over a crop it seems to have trouble and throws an error that it can't read _crop of undefined. This is starting to strike me as a common conflict issue as I've ran into similar with an event caller as well so I was wondering what could cause this kind of thing or if there is maybe something that could cause called events to suddenly be listed as undefined and how one would work around this kind of issue?

Examples of the plug-ins I use that can throw this error:
https://forums.rpgmakerweb.com/index.php?threads/galvs-simple-crops-galvs-tools-farming.72280/
https://galvs-scripts.com/category/rmmv-plugins/mv-event-utility/#post-1717
https://atelierrgss.wordpress.com/rmv-chrono-engine/
There are two ways to get undefined error, both for similiar reasons.

1) you loaded an old save file after installing a new plugin.

Data for a plugin is usually created by the "New game" Option on the title screen and saved into the save file. If you add a Plugin and then load an old save that is missing the data the New Plugin needs, you'll get those undefined errors.

2) Plugin incompatibilities

In some combinations Plugins don't work together and prevent each other from setting the correct data even if you use the new game option.
Some times that can be solved with changing the plugin order, some times it will require a patch to one plugin, and some times it can't be changed at all because the plugins are simply incompatible.
What specifically usually causes such incompatibilities? Is it when they both try to change the same thing? What's a good way to identify what can be patched out and what can't? Anything I should post that could help identify this once I figure out how to reproduce the bug? (for some reason doing what I did yesterday isn't doing it despite me reverting the changes I did as a temporary workaround... kind of odd actually)
What causes the incompatibilities is when two plugins reference the same method and one aliases the original and calls it as part of the sequence, but the other doesn't - it completely replaces the functionality of the original. The one that completely overwrites it could stop the modified version from the other plugin being run altogether.

There are probably other causes, but this is the main one I can think of.
What causes the incompatibilities is when two plugins reference the same method and one aliases the original and calls it as part of the sequence, but the other doesn't - it completely replaces the functionality of the original. The one that completely overwrites it could stop the modified version from the other plugin being run altogether.

There are probably other causes, but this is the main one I can think of.

That sounds like what's going on. I suppose the main way one would fix that is if the two plugins were merged in some form so that when the method is called it isn't confused? At least in a best case scenario where the conflict is minor? Or how else would one deal with the same method referencing?
Trying to limit the number of plugin authors could help - usually plugin creators would make their own plugins compatible with each other. The more authors you have, the greater the chance of incompatibility.

You don't need to merge the entire plugins - just get someone to create you a "patch" that merges those particular functions in the plugins.

Though it sounds easy, it depends on the complexity of the plugins.
I'll have to look into that. Kind of need both of the plug-ins or figure out an in game script alternative. Plug-ins for crop systems, solid ABS systems and replicating events seem fairly few and far in between. Not sure where to begin on in depth modifications for that stuff yet as I'm still really new to RPG Maker stuff. I don't know.. think I need to replicate the error again and post the debug info.

I've moved this thread to Plug-In Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/dealing-with-conflicts-cant-read-x-of-undefined.86038/