Title: Plugin Conflicts
Last modified: August 7, 2017

---

# Plugin Conflicts

 *  [msheldon](https://wordpress.org/support/users/msheldon/)
 * (@msheldon)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/)
 * The Gmail SMTP is apparently causing conflicts with at least 2 other WP plugins,
   namely Use-Your-Drive and Google Drive WP Media. In the case of the Use-Your-
   Drive plugin, the problem seems to be a result of it using V3 of the Google API
   with Gmail SMTP is using V2. Please see the following link for more info about
   this conflict:
 * [https://florisdeleeuwnl.zendesk.com/hc/en-us/articles/214584903-Error-400-Invalid-field-selection](https://florisdeleeuwnl.zendesk.com/hc/en-us/articles/214584903-Error-400-Invalid-field-selection)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [chrismartino](https://wordpress.org/support/users/chrismartino/)
 * (@chrismartino)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9419127)
 * I’m having this problem as well, with Use-Your-Drive. Help would be appreciated!
   Thanks!
 *  Thread Starter [msheldon](https://wordpress.org/support/users/msheldon/)
 * (@msheldon)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9420163)
 * The author of the Use-Your-Drive plugin has provided me with 2 files, Drive.php
   and MediaFileUpload.php, to deal with the fact that the Gmail SMTP plugin is 
   using V2 and not V3 of the Google API. These 2 files are intended to overwrite
   their counterparts for the Gmail SMTP plugin. I haven’t had a chance yet to test
   this solution but hope to do so this weekend. I’ll report back the results asap.
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9432962)
 * Hi, I’m working on updating the Google API client library to the latest version.
   Unfortunately some functions were modified significantly which may affect existing
   SMTP users. I’m running some tests to make sure it will work for both new and
   existing users.
 *  Thread Starter [msheldon](https://wordpress.org/support/users/msheldon/)
 * (@msheldon)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9433091)
 * Thank you! This is greatly appreciated. The author of the Use-Your-Drive plugin
   told me by e-mail that should you need any assistance in updating your plugin
   to use the latest Google API library version, he would be more than happy to 
   oblige.
 *  [Eric Sopp](https://wordpress.org/support/users/ideric/)
 * (@ideric)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9434550)
 * We have many users of [WP-Stateless](https://wordpress.org/plugins/wp-stateless/)
   complaining about conflicts with your plugin. From what we can tell, it is because
   you’re using an outdated version of the Google SDK on every page load.
 * Thanks for looking into this! 🙂
 * ref: [https://wordpress.org/support/topic/invalid-client-secret-json-file-after-activing-gmail-smtp-plugin/](https://wordpress.org/support/topic/invalid-client-secret-json-file-after-activing-gmail-smtp-plugin/)
 *  [Maxim Peshkov](https://wordpress.org/support/users/maximpeshkov/)
 * (@maximpeshkov)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9434567)
 * Hello,
 * To prevent the issues with other plugins, which are using Google SDK, you should
   not load Google SDK on every page load ( on plugin initialization ). In other
   case, you will face with another conflicts: when other third-party plugins are
   using legacy Google SDK ( < v2.0 ).
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9436458)
 * I have just released an update. Please update the plugin and see how it goes.
 *  [Maxim Peshkov](https://wordpress.org/support/users/maximpeshkov/)
 * (@maximpeshkov)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9437265)
 * To solve the issue with Gmail SMTP plugin, we added back compatibility with Google
   SDK 1.x. to our WP-Stateless plugin. But, suddenly you launched new version of
   plugin which contains cut version of latest Google SDK. And… it just broke our
   plugin again….
 * Please, look through my comment above.
 * > you should not load Google SDK on every page load ( on plugin initialization).
   > In other case, you will face with another conflicts: when other third-party
   > plugins are using legacy Google SDK ( < v2.0 ).
 * It also belongs to other Google SDK versions, since you’re using cut version 
   of SDK…. And, even more fact, Google SDK 2.0.0 has conflicts with Google SDK 
   2.2.0… So, I’m absolutely sure you will get much more support topics now, regarding
   conflicts with other plugins which also use Google SDK.
 * I believe, that the problem is not a version of Google SDK, but how you’re initializing
   it. To prevent the most potential issues with other plugins, you just needed 
   to start loading your Google SDK ONLY when it’s really needed, but not on every
   plugin’s initialization…
 * Regards.
    -  This reply was modified 8 years, 9 months ago by [Maxim Peshkov](https://wordpress.org/support/users/maximpeshkov/).
    -  This reply was modified 8 years, 9 months ago by [Maxim Peshkov](https://wordpress.org/support/users/maximpeshkov/).
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9437718)
 * [@maximpeshkov](https://wordpress.org/support/users/maximpeshkov/), Just released
   another update. The plugin will now include the library only when needed.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin Conflicts’ is closed to new replies.

 * ![](https://ps.w.org/gmail-smtp/assets/icon-128x128.png?rev=2432932)
 * [Gmail SMTP](https://wordpress.org/plugins/gmail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gmail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gmail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/gmail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gmail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gmail-smtp/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [Noor Alam](https://wordpress.org/support/users/naa986/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflicts-27/#post-9437718)
 * Status: not resolved