Support » Plugin: Plugin Organizer » Plugin Confliction?

  • Resolved SL Blaise



    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeff Sterup


    What do you mean by it doesn’t work? What does it do? Are there any javascript errors? Any warnings on your screen?

    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?

    Hey there, i am also having this problem and only started after installing this plugin.

    The page it can be found on is;

    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)

    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 respectively the GeoJSON-feed ( 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!


    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


    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.