Title: Plugin Confliction?
Last modified: August 21, 2016

---

# Plugin Confliction?

 *  Resolved [SL Blaise](https://wordpress.org/support/users/sl-blaise/)
 * (@sl-blaise)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/)
 * Hi,
 * We are working on a site that requires the use of the maps marker plugin — ‘Leaflet
   Maps Marker’. However, there appears to be a confliction with Plugin Organizer.
   Even when all plugins are set to active the maps plugin does not work; with the
   Plugin Organizer disabled from the plugin menu the map works. Any suggestions?
 * Thank you in advance.
 * [http://wordpress.org/plugins/plugin-organizer/](http://wordpress.org/plugins/plugin-organizer/)

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

 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/#post-4343477)
 * What do you mean by it doesn’t work? What does it do? Are there any javascript
   errors? Any warnings on your screen?
 *  Thread Starter [SL Blaise](https://wordpress.org/support/users/sl-blaise/)
 * (@sl-blaise)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/#post-4343554)
 * Sorry I should have been a lot more specific than that!
 * The markers are not showing up on the map. It must be a javascript error of some
   kind but all javascript files appear to be there; there is no javascript errors.
   The only thing I can think of is some kind of interference with the map API, 
   but I am not sure whether that is possible or not?
 *  [telfhimself](https://wordpress.org/support/users/telfhimself/)
 * (@telfhimself)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/#post-4343559)
 * Hey there, i am also having this problem and only started after installing this
   plugin.
 * The page it can be found on is; [http://www.ecohomeltd.com/wp/areas-installation/](http://www.ecohomeltd.com/wp/areas-installation/)
 * As you can see the map is displayed fine as well as the marker notes, its just
   the marker icons itself that are not appearing.
 * After enabling Plugin Organizer, in the console i get two errors which **only**
   appear when enabled;
 * > Uncaught SyntaxError: Unexpected identifier (index):414
   >  (anonymous function)(
   > index):414 (anonymous function)
 *  [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/#post-4343566)
 * Hi,
    I am the developer of the plugin “Leaflet Maps Marker”. For me it seems 
   there is a plugin conflict between my plugin and “plugin organizer”. I am using
   the following code within my standalone-files to check if my plugin is active:
 *     ```
       function lmm_is_plugin_active( $plugin ) {
           $active_plugins = get_option('active_plugins');
           $active_plugins = array_flip($active_plugins);
           if ( isset($active_plugins[$plugin]) || lmm_is_plugin_active_for_network( $plugin ) ) { return true; }
       }
       function lmm_is_plugin_active_for_network( $plugin ) {
           if ( !is_multisite() )
               return false;
           $plugins = get_site_option( 'active_sitewide_plugins');
           if ( isset($plugins[$plugin]) )
                       return true;
           return false;
       }
       if (!lmm_is_plugin_active('leaflet-maps-marker/leaflet-maps-marker.php') ) {
           echo sprintf(__('The plugin "Leaflet Maps Marker" is inactive on this site and therefore this API link is not working.
   
       Please contact the site owner (%1s) who can activate this plugin again.','lmm'), antispambot(get_bloginfo('admin_email')) );
       }
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * for an unknown reason to me, on [http://www.ecohomeltd.com/wp/areas-installation/](http://www.ecohomeltd.com/wp/areas-installation/)
   respectively the GeoJSON-feed ([http://www.ecohomeltd.com/wp/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=all&full=no&full_icon_url=no](http://www.ecohomeltd.com/wp/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=all&full=no&full_icon_url=no))
   which gets loaded in the background returns false for and therefore no markers
   are displayed on the layer map.
 * On the other hand I installed “plugin organizer” on my test site and couldnt 
   reproduce this issue (perhaps I havent used the “right” plugin-organizer-options).
   
   Help here would really be appreciated! best,
 * Robert
 *  [telfhimself](https://wordpress.org/support/users/telfhimself/)
 * (@telfhimself)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/#post-4343569)
 * Initially, it was set-up so within plugin organizer > global plugins, Leaflet
   Maps was turned off and was enabled on the ‘areas of installation’ page **only**…
   when turning ‘MapsMarker’ on via the global settings, the markers will be displayed,
   but that kind of defeats the purpose of the plugin…
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/#post-4343571)
 * The map plugin is doing an Ajax hit. If you disable the plugin globally you will
   need to add a filter for the url that the Ajax uses and enable the map plugin
   on it. Basically you disabled the map plugin for the url that the Ajax hits use.

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

The topic ‘Plugin Confliction?’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

## Tags

 * [map](https://wordpress.org/support/topic-tag/map/)

 * 6 replies
 * 4 participants
 * Last reply from: [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-confliction/#post-4343571)
 * Status: resolved