Frequently Asked Questions

Category: Troubleshooting

Google map tiles are not displayed when using Newspaper theme

If you are using the theme Newspaper available on Envato market it can be that map tiles for Google basemaps are not visible:

This is caused by the theme´s style.css – we already contacted the support and hope that the issue will be fixed with a new release of Newspaper theme soon.

Until this fix is available, you can workaround this issue by navigating to Newspaper / Theme Panel, select the tab “Custom code” and add the following CSS to the section “Custom CSS”:

body.td-animation-stack-type0 .td-animation-stack .entry-thumb,
body.td-animation-stack-type0 .post img {
    opacity: unset !important;
}

as an alternative you can also add the following CSS:

.maps-marker-pro img {
    opacity: 1 !important;
}

0
0
396
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

I cannot update a map or marker as the save button is disabled

If the “Save”-button on map or marker edit pages is disabled and cannot be clicked, it is likely that this is caused by a plugin conflict. To verify this, please disable all other plugins but Maps Marker Pro and try again. If it works afterwards, please enable all other plugins one by one again to find out which plugin is causing this issue and let us know in a support ticket which plugin so that we can check if we can fix this from our side.

If this does not help, it is likely that there might be an issue with your general WordPress AJAX endpoint. Have a look into the browser console (can be opened with key F11 for example) to see if there are any error messages. Send us these error messages in a support ticket so that we can have a closer look.

0
0
287
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Geocoding error “OVER_QUERY_LIMIT”

If you are getting the error OVER_QUERY_LIMIT when trying to geocode an address with Google set as geocoding provider, this means that you exceeded the Google Maps Platform web services usage limits by:

  • sending too many requests per day or e.g. by
  • sending requests too fast, i.e. too many requests per second

The above problems can be address by combining two approaches:

  1. Lowering usage, by optimizing applications to use the web services more efficiently.
  2. Increasing usage limits, when possible, by purchasing additional allowance for your Google Maps APIs for Work license.

We´d suggest to login to your Google API console and check and adjust your usage limits there.

As an alternative you can switch to another geocoding provider.

1
0
3349
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

No geocoding results for a specific address or location

Maps Marker Pro allows you to choose from different geocoding providers which enables you to get the best results according to your needs. For a list of available geocoding providers and instructions on how to activate them, please have a look at https://www.mapsmarker.com/kb/article/geocoding/.

Please be aware that each geocoding provider uses different sources with different update cycles. Nevertheless it can be, that no result is found for an address, which definitely exists though. If this is the case for you, we´d recommend to switch to another geocoding provider to verify if the exact address is found there, e.g. by using the dropdown which shows all active geocoding providers:

If there is still no result found, you can help all OpenStreetMap based geocoding services (all but Google Geocoding) to improve their dataset by submitting the address. For more information on how to help improve address data for OpenStreetMap, please have a look at the following sites:

0
0
372
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

“File type not permitted for security reasons” error when trying to upload a gpx file

This issue should be fixed with Maps Marker Pro v4.3 and higher – please update to the latest version for this fix to apply.

If you still experience this issue, please add the following code to wp-config.php, which should re-enable the upload of .gpx files:

define('ALLOW_UNFILTERED_UPLOADS', true);

If this does not help on your site, please have a look at other options available from this external tutorial.

If you are still experiencing issue afterwards, please open a support ticket.

3
0
1112
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Marker icon window is overlapped by map

If you want to change the icon of a marker and the icon window is hidden behind the map when clicking the “Change” button for icons, this is usually caused by a plugin conflict (some plugins do not follow best practices and embedd their javascripts and CSS files on every admin page and not just where needed).

You can either find and disable the plugin causing this or add the following code at the end your
theme´s functions.php to fix this:

/* Maps Marker Pro - fix for icon modal being hidden by other plugins or themes using jquery ui */
function mmp_icon_modal_visibility_workaround() {
    $current_screen = get_current_screen();
    if ( ($current_screen->base == 'maps-marker-pro_page_mapsmarkerpro_marker') || ($current_screen->base == 'maps-marker-pro_page_mapsmarkerpro_map') ) {
    echo '<style>.ui-dialog { z-index: 99999 !important; }</style>';
    }
}
add_action('admin_head', 'mmp_icon_modal_visibility_workaround');
0
1
1907
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in maps-marker-pro.php

Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /wp-content/plugins/maps-marker-pro/maps-marker-pro.php on line 66

If you see the error above when trying to activate Maps Marker Pro, this usually means that the PHP version used on your server is too low. 

Maps Marker Pro requires at least PHP 5.4 to run properly, anyway as PHP 5.4 is already outdated and does not receive updates (including security fixes!) anymore since September 2015, we stronlgy recommend to a currently supported PHP version (7.x).

To fix this, please either switch your PHP version through your hosting control panel if possible or contact your hosting provider support to switch the PHP version for you.

 

0
0
808
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

“For development purposes only” error on Google basemaps

If you see the error “For development purposes only” on your map using Google basemaps, please open your browser console (e.g. by pressing the key F12 in Firefox or Chrome) and switch to the “Console” tab e to see more details about the error:

In the example above, the error is NoApiKeys, which means the mandatory Google Maps Javascript API key is missing.

Anyway most errors are related to your Google Maps Javascript API key, which is needed in order to display Google Maps properly.

So to fix this, please proceed as follows:

  1. make sure you registered a Google Maps Javascript API key, see tutorial for details. Please also make sure that you have saved your credit card details in the Google API console, which is needed since the Google ToS changes from summer 2018.
  2. if your error is RefererNotAllowedMapError please re-check step 6 from the tutorial and make sure you set the your accepted referrer for the domain where the map is embedded is configured correctly, like *.yourdomain.com/*

For all other errors please have a look at the error reference at https://developers.google.com/maps/documentation/javascript/error-messages#deverrorcodes where you will also find a possible solution.

If this still does not help, please open a support ticket and we will be glad to help.

7
2
9274
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Error “Failed to send request” when trying to migrate to v4

This error indicates that there are some issues with your AJAX configuration respectively wp-admin/admin-ajax.php endpoint.

To verify this, please open the browser console (e.g. with F12 in Firefox or chrome), switch to the “Console” tab and reload the page and click on “Check migration” again to verify if there are any additional error messages:

If you do not see an error message there, please switch to the “Network” tab and reload the page and click on “Check migration” again to verify if there are any additional error messages:

From the screen above you see that the request failed with the Status (=HTTP error code) 404 – in this example, the file /wp-admin/admin-ajax.php was not available.

It is more likely though, that you will see Status 500 (= Internal Server Error) here. The 500 Internal Server Error is the general catch all error when the server throws an exception. It is the error message when no more specific error message is suitable and is in most cases directly related to a server misconfig or issue.

So what do now?

First, please try to temporarily disable all other plugins but Maps Marker Pro to verify that this issue is not caused by a plugin conflict.

If this does not help, please have a look at the server error log like PHP or Apache error log when that request is made and which might give you a clue why this error happens on your server.

If this still does not help, please check if one of the following tutorial can help you find the reasons for this server error:

If this still does not help, we´d advise to get in contact with your hosting support so that they can analyse why the request to /wp-admin/admin-ajax.php fails when trying to run the migration tool.

0
0
458
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Console error “MapsMarkerPro is not defined”

If your maps do not show up and your browser console is showing the error “MapsMarkerPro is not defined” please proceed as follows:

  1. If you are using any caching plugins, please try first to clear any involved caches.
  2. First check if this issue might be caused by a plugin conflict. To verify this, please temporarily disable all other plugins but Maps Marker Pro and try again.
  3. If this did not return any results, please verify if your template files include hooks for wp_head() in header.php and wp_footer() in footer.php (which are needed to properly load scripts and styles from Maps Marker Pro). 
0
0
318
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

“Error: map images could not be loaded” is displayed

If you see this error message instead of a map, this can have several reasons:

the most likely one is that the (external) tile server used is currently not available or has temporary issues (e.g. a maintenance window). Unfortunately we do not have direct influence on the availability of external tile servers Maps Marker Pro enables you to connect to in order to display map tiles. From our experience, OpenStreetMap is very reliable and those errors occur very rarely. 

Anyway as also stated in the error message, it could be that there are internet connection issues on the user side, which result in map tiles not being able to load, although the external map tile server is available.

The third reasons for this error – faulty map configuration – is usually only the case if you use custom tile server configurations (e.g. if you added a custom basemap which only shows map tiles for a specific area and you panned your map outside that area).

In case you experience this issue often with one selected tile service provider, you can try switching to another tile service provider for your map.

1
0
480
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

How to fix the incompatibility with the “Geo Redirect” plugin

The plugin “Geo redirect” allows you to redirect your visitors or switch language according to their country. Unfortunately there hasnt been an update since 2013 and using this plugin together with Maps Marker Pro is causing layer maps to break (as also the leaflet-geojson.php call which is needed to load the markers is redirected.

To fix this, please open the file /wp-content/plugin/geographical-redirect/geo-redirect.php

The find the code

    public function checkIfRedirectNeeded()
    {
        if (!is_array($this->geo_redirect_data))
            return;

and replace it with

    public function checkIfRedirectNeeded()
    {
        //info: do not redirect Maps Marker Pro requests
        $request_uri = $this->request_uri;
        if (stripos($request_uri, 'geojson') !== FALSE) {
            return;
        }
        if (!is_array($this->geo_redirect_data))
            return;

and save the file. As a result, layer maps should be working again.

0
0
363
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Geolocation error: Only secury origins are allowed / https is required

With Chrome 50+, Firefox 55+ and Safari 10+ significant changes to the geolocation support were introduced by the related browser vendors: all applications requesting the current position of the user (not just for Maps Marker Pro´s geolocation feature) are only allowed anymore to retrieve the current position of the user if the site is setup to be delivered securely via https – users will see the following or a similar warning instead:

geolocation-error-info

See more details about this decision by Google at https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only. Geolocation will still work on non-https sites if the users access the site via alternative browsers like Firefox, Safari or Internet Explorer – anyway it could be likely that those browsers will also add a similar security restriction in the future.

Update November 2016: since iOS 10 also Safari 10+ now requires https to support geolocation. The implementation is even more strict than with Google Chrome – geolocation will not work for example if there are mixed-content warnings on your site.

Update 2017: Firefox 55+ also requires https for accessing geolocation (see details)

So if you need the Maps Marker Pro geolocation featue on your site (which with v2.7 even gets more usable as you can sort the list of markers based on the current position of the user), it is strongly advised to migrate your site to https. Some hosters already provide free https certificates from letsencrypt.org for example. For configurations needed within your WordPress site in order to configure it to support https, please have a look at tutorials like https://css-tricks.com/moving-to-https-on-wordpress/.

As https has more advantages for your site than just geolocation working again with Google Chrome 50+ and Safari 10+ (like securing the data integrity, sender authentication and user privacy as well as higher Google ranking as https is used as ranking signal), we strongly advise to switch your site to https only if you haven´t done so yet.

If you switched your site to https and still get a geolocation error (like “Geolocation error: user denied geolocation”), please check your device´s location settings if it is allowed for apps/web sites to retrieve the geolocation.

2
0
2494
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

How to resolve the incompatibility with the Enfold theme by kriesi.at

Update 28. October 2016: the following workaround is not needed anymore if you are using Maps Marker Pro v2.8, Leaflet Maps Marker v3.11 or greater.

The popuplar Enfold theme by kriesi.at enqueues Google javascript on all admin pages, resulting in Google Autocomplete API (=address search) to break. To fix this, you have to completely disable the mapping functionality added by the theme:

open wp-content/themes/enfold/functions.php (respectively the functions.php from your child theme if you are using one) and add the following code at the bottom:

add_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1);
function disable_google_map_api($load_google_map_api) {
        $load_google_map_api = false;
        return $load_google_map_api;
}

More infos at http://www.kriesi.at/support/topic/google-maps-element-javascript-conflict-with-maps-marker-pro-plugin/

0
0
667
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

I do not see plugin update notifications about new versions

The Maps Marker Pro plugin checks every 12 hours if a new version is available. You can also manually trigger the update check by going to Plugins and clicking on the link “Manually check for updates” next to “Maps Marker Pro”:

manual-update-check

If you do not see the link “Manually check for updates” or clicking on it does not show the latest version available, please proceed as follows:

Please first check if you are using v1.5.9 or v1.6. With v1.5.9 delivery of plugin updates via SSL was added to increase security. Unfortunately we found that although this features works fine, there might be issues on servers with outdated or incomplete SSL libraries. This can prevent your plugin to communicate with mapsmarker.com to check for new plugin updates.

To fix this, please manually update to the latest version, which includes a workaround for those servers. To manually update your plugin, please download the latest package from https://mapsmarker.com/download-pro, unzip the plugin package and copy the files from the unpacked folder /leaflet-maps-marker-pro/ to your server via FTP, overwritting all files and subdirectories in the directory youdomain.com/wp-content/plugins/leaflet-maps-marker-pro/

Please note: if you would uninstall and reinstall the plugin through the WordPress admin interface, all created maps would get deleted on uninstall, so please do a manual update via FTP if you have already created some maps!

If updating to the latest version did not solve the issue, please ask your hoster for help. There might be special security precautions preventing your server from communicating directly with https://www.mapsmarker.com (GET requests, Port 443)

It could also be that your server only allows direct connection through a proxy (you can verify this if you are not receiving any WordPress core or plugin updates). If this is the case, the proxy server has to be configured in wp-config.php (please ask your hoster for details about your proxy):

define('WP_PROXY_HOST', '192.168.xx.xxx');
define('WP_PROXY_PORT', '8080');
define('WP_PROXY_USERNAME', 'my_user_name');
define('WP_PROXY_PASSWORD', 'my_password');
define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com');

If you are not using a proxy, and still not see the that there is a new plugin version available, please install the debug bar plugin from https://wordpress.org/extend/plugins/debug-bar/. This plugin allows you to debug the communication to the update server on mapsmarker.com. After activation of this plugin, click on Debug in the admin bar and select PUC (leaflet-maps-marker-pro) from the sidebar. Afterwards you can check the communication with the update server by clicking on the buttons Request Info and Check now:

debug-bar-steps

If you or your hoster cannot help you with the information retrieved from the debug bar plugin either, please open a support ticket and we will be glad to help you solving your issue!

2
0
839
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

“Error: a new local license key could not be obtained.” is shown after license activation

connect-error

If you see the error above after trying to activate your license key on the license settings page, this means that your server could not connect to https://www.mapsmarker.com for the license validation.

Please ask your hoster for help here. There might be special security precautions preventing your server from communicating directly with https://www.mapsmarker.com (GET requests, Port 443)

It could also be that your server only allows direct connection through a proxy (you can verify this if you are not receiving any WordPress core or plugin updates). If this is the case, the proxy server has to be configured in wp-config.php (please ask your hoster for details about your proxy):

define('WP_PROXY_HOST', '192.168.xx.xxx');
define('WP_PROXY_PORT', '8080');
define('WP_PROXY_USERNAME', 'my_user_name');
define('WP_PROXY_PASSWORD', 'my_password');
define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com');

If that also does not help, please open a support ticket and we will be glad to help you solving your issue!

0
0
432
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

When saving a marker I get the error “a marker with the ID 0 does not exist!”

This FAQ is only valid for Maps Marker Pro v3.1.1 or lower:

Please check if the database tables needed for Maps Marker Pro have been created by logging into your database tool (usually phpmyadmin) and checking if the tables

  • wp_leafletmapsmarker_markers and
  • wp_leafletmapsmarker_layers

exist. If yes, please turn on WordPress debugging (by adding define(‘WP_DEBUG’, true); to wp-config.php), also have a look into the PHP error log if possible and open a support ticket with the logged results.

0
0
370
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

starting point when using Google Maps directions is incorrect

By default Google Maps is used as directions provider for the directions link in the map panel and for the directions link added to the popuptext of each marker.

If you entered an address for your location, this address will be used for directions starting point, if you only entered latitude and logitude coordinates (and address field is empty), these coordinates are used as starting point for directions.

If you notice that your starting point on the opened Google Maps is incorrect, than is because Google by default always calculates the directions by using car as preferred transport method. So the nearest place to your location that can be reached by car is taken as starting point automatically.

Unfortunately this cannot be fixed on Google Maps, as this is not a bug but a feature 😉 – anyway there are several ways to deal with this issue:

– if you only rely on walking directions, you can navigate to Settings / directions settings / Google Maps directions settings and check the checkbox “Walking directions”.

– if that is not an option for you (roads for cars will be ignored with this direction), please navigate to Settings / directions settings / general directions settings and set a different directions provider like bing maps, which takes exactly the coordinates of your location and does not change the starting point.

0
1
1847
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

HTML5 fullscreen mode does not work for maps in iframes

If you embedd a map with an iframe-tag, you have to add the following code to this tag for HTLM5-fullscreen-mode (pro version only) to work:

allowfullscreen=”true” mozallowfullscreen=”true” webkitallowfullscreen=”true”

0
0
643
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.