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 https://www.ecohomeltd.com/wp/areas-installation/ respectively the GeoJSON-feed (https://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