Third party libraries/SDK: manage conflicts
-
Hi,
lately, I’ve managed (but not resolved) on different sites the problem of third-party libraries loaded by different plugins and conflicting. Usually, it was the Amazon SDK. Searching the forum you can see how many reports there are about missing classes, missing methods, and so on. This usually is caused by autoloaders of two plugins mixing up classes from different SDK versions. Is not always so obvious to diagnose the problem and it usually ends in a “fatal error”.
I would like to open a discussion to know your opinion about having, for example, a plugin providing one or more “common” SDK and other plugins relying on that one. Probably it would be just a “best practice” and an agreement between plugin/theme authors to ask the users to install it. Maybe a “WordPress Community” plugin. What do you think?
The topic ‘Third party libraries/SDK: manage conflicts’ is closed to new replies.