Title: plugin conflict due to PLUGIN_DIR constant
Last modified: August 22, 2016

---

# plugin conflict due to PLUGIN_DIR constant

 *  Resolved [boyington](https://wordpress.org/support/users/bottapress/)
 * (@bottapress)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-due-to-plugin_dir-constant/)
 * Hi,
 * I have a problem with activation on the plugin causing fatal error due to the
   user of a constant PLUGIN_DIR with a generic name that is already defined by 
   another plugin (which make the same mistake).
 * I think it would be safier for your plugin to define a constant with a more specific
   name (as “JMM_PLUGIN_DIR”).
 * Am I right or do I misunderstand something ?
 * [https://wordpress.org/plugins/join-my-multisite/](https://wordpress.org/plugins/join-my-multisite/)

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

 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-due-to-plugin_dir-constant/#post-5780953)
 * Huh, well that was stupid of me.
 * Yes, I can and will fix it.
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-due-to-plugin_dir-constant/#post-5780972)
 * Yep, 1.7.6 will be out soon to fix this.
 *  Thread Starter [boyington](https://wordpress.org/support/users/bottapress/)
 * (@bottapress)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-due-to-plugin_dir-constant/#post-5780974)
 * very good 🙂
 * thanks for your quick reply.
 *  [r16n](https://wordpress.org/support/users/r16n/)
 * (@r16n)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-due-to-plugin_dir-constant/#post-5781089)
 * The [changelog](https://wordpress.org/plugins/join-my-multisite/changelog/) says“
   12 February, 2014”! Come on, it’s been 2015 for one and half months now 😉
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-due-to-plugin_dir-constant/#post-5781090)
 * *facepalm*
 * Look I … er .. was doing too many things at once 😉 But it works on WP 4.2! I’m
   in the future!
 * *goes to silently fix that*

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

The topic ‘plugin conflict due to PLUGIN_DIR constant’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/join-my-multisite_e0d5c8.svg)
 * [Join My Multisite](https://wordpress.org/plugins/join-my-multisite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/join-my-multisite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/join-my-multisite/)
 * [Active Topics](https://wordpress.org/support/plugin/join-my-multisite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/join-my-multisite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/join-my-multisite/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-due-to-plugin_dir-constant/#post-5781090)
 * Status: resolved