Impossible to display map with latest version of WP, using the shortcode
-
Hi,
I get some deprecated errors when i try to include a map using do_shortcode(‘[osm_map lat=”‘.$latitude.'” lon=”‘.$longitude.'”]’);
any help would be great
Thanks
Fran?ois
here are the errors messages :
Deprecated: Non-static method Osm_icon::replaceOldIcon() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 147
Deprecated: Non-static method Osm_icon::isOsmIcon() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 148
Deprecated: Non-static method Osm_icon::getIconsize() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 149
Deprecated: Non-static method Osm_OpenLayers::checkMapType() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 203
Deprecated: Non-static method Osm_OpenLayers::checkOverviewMapZoomlevels() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 204
Deprecated: Non-static method Osm_OpenLayers::checkControlType() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 206
Notice: Undefined variable: a_type in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 263
Deprecated: Non-static method Osm_OpenLayers::addTileLayer() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 285
Deprecated: Non-static method Osm_OpenLayers::setMapCenterAndZoom() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 289
Deprecated: Non-static method Osm_OpenLayers::setMapCenterAndZoom() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/vps217372.ovh.net/blaamy.com/wp-content/plugins/osm/osm-sc-osm_map.php on line 508
- The topic ‘Impossible to display map with latest version of WP, using the shortcode’ is closed to new replies.