The category filter is not limiting the returned results. It seems that the search happens but all results are returned rather than those within specific categories only. The page is simply using the shortcode [simplemap taxonomy_field_type="select"]
Has anyone seen this same behavior? Thoughts on a fix?
Hi there-
My client’s been using SimpleMap for a long time, and suddenly the Import CSV option has disappeared.
Is there a version update we didn’t get? We’re using 2.6.1.
Please advise. Thanks!
Mari
]]>Hello,
Actually i have implemented this plugin in my client’s website but the distance its calculating between the two points is different than of Google Maps.
You can open this link https://www.new.northeasterndentistry.com/search-results/ and fill the Pincode for e.g. 08054 in the following place ( https://prnt.sc/t1mq7i ) and see the results and compare it with google maps
The distance Simplemap plugin is calculating is the “Aerial Distance” between two points.
But I want to calculate the Road distance between two point so please help me out to achieve that using this plugin
]]>I have update to 5.4 and sudently the plugin does not working
]]>Your plugin page is alerting my security software that you have a virus on that page.
]]>I have multilanguage wordpress site with languages dutch and french I have imported csv file with data’s for dutch
I have imported locations in dutch site but I can view the results in both the dutch and french site. Due to this reason in french store locator page I still see the dutch get direction(label) translation.
Question:
1. Please let us know Simple map plugin supports multilanguage
2. How can I update Get Directions label for french/dutch separtely.
3. Is it possible to upload Separate Csv for dutch/french, Is it possible what is the options.
We have created a Google API key with an associated billing account and while the map loads on the page, the search function does nothing and there is no marker for the starting location or the single business location we have created even though we have selected to Auto-load all locations. Not sure what is going on as we have used this plugin on other sites in the past with no problem. Thoughts?
One odd thing is that there is a note in red that reads “You have too many locations to auto-load them all. Only the closest 250 will be displayed if auto-load all is selected.” but we only have one location.
Thank you!
]]>Currently having issues with this plugin. Anytime you put in an address, it always says “No Results Found”. But when you first go to the page, all of the locations are on there. Can you help with this so people can search for their location? Thanks!
]]>My client is a paying subscriber, and I am tasked with fixing this plugin since it broke when he moved to a new host with HTTPS.
A few of the errors that console shows:
mixed content + the shutdown of the freegeoip
Mixed Content: The page at ‘https://www.oursite.com/nl-nl/over-oursite/verkooppunten/’ was loaded over HTTPS, but requested an insecure script ‘https://www.oursite.com/oursitewp2018/?simplemap-master-js=1&smpid=746&ver=4.9.8’. This request has been blocked; the content must be served over HTTPS.
jquery.min.js?ver=3.2.1:2 jQuery.Deferred exception: jQuery.getJSON(…).error is not a function TypeError: jQuery.getJSON(…).error is not a function
at HTMLDocument.<anonymous> (https://www.oursite.com/nl-nl/over-oursite/verkooppunten/:397:9)
at j (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js?ver=3.2.1:2:29999)
at k (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js?ver=3.2.1:2:30313) undefined
r.Deferred.exceptionHook @ jquery.min.js?ver=3.2.1:2
k @ jquery.min.js?ver=3.2.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.2.1:2
i @ jquery.min.js?ver=3.2.1:2
fireWith @ jquery.min.js?ver=3.2.1:2
fire @ jquery.min.js?ver=3.2.1:2
i @ jquery.min.js?ver=3.2.1:2
fireWith @ jquery.min.js?ver=3.2.1:2
ready @ jquery.min.js?ver=3.2.1:2
S @ jquery.min.js?ver=3.2.1:3
jquery.min.js?ver=3.2.1:2 Uncaught TypeError: jQuery.getJSON(…).error is not a function
at HTMLDocument.<anonymous> ((index):397)
at j (jquery.min.js?ver=3.2.1:2)
at k (jquery.min.js?ver=3.2.1:2)
(anonymous) @ (index):397
j @ jquery.min.js?ver=3.2.1:2
k @ jquery.min.js?ver=3.2.1:2
setTimeout (async)
r.readyException @ jquery.min.js?ver=3.2.1:2
(anonymous) @ jquery.min.js?ver=3.2.1:2
j @ jquery.min.js?ver=3.2.1:2
k @ jquery.min.js?ver=3.2.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.2.1:2
i @ jquery.min.js?ver=3.2.1:2
fireWith @ jquery.min.js?ver=3.2.1:2
fire @ jquery.min.js?ver=3.2.1:2
i @ jquery.min.js?ver=3.2.1:2
fireWith @ jquery.min.js?ver=3.2.1:2
k @ jquery.min.js?ver=3.2.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.2.1:2
i @ jquery.min.js?ver=3.2.1:2
fireWith @ jquery.min.js?ver=3.2.1:2
fire @ jquery.min.js?ver=3.2.1:2
i @ jquery.min.js?ver=3.2.1:2
fireWith @ jquery.min.js?ver=3.2.1:2
ready @ jquery.min.js?ver=3.2.1:2
S @ jquery.min.js?ver=3.2.1:3
(index):1 Mixed Content: The page at ‘https://www.oursite.com/nl-nl/over-oursite/verkooppunten/’ was loaded over HTTPS, but requested an insecure script ‘https://freegeoip.net/shutdown’. This request has been blocked; the content must be served over HTTPS.
I see that there is an update to the plugin which is great but there is no information as to what the update contains.
Perhaps this update is for proper functionality with Gutenberg prior to it’s release on Monday?
I am hesitant to update until I know more.
Looking forward to hearing from someone. Thank you!
]]>Reference this topic for an abbreviated description of the exact issue.
Error logs fill up with the following, and running WP-CLI without the --skip-plugins
flag will cause any and all WP-CLI commands to fail:
PHP Fatal error: Call to a member function get_options() on a non-object in plugins/simplemap/classes/maps.php on line 116
The exact issue can be found in simplemap/classes/maps.php
, a file which states This handles ONLY single location maps
and also mentions Handles all our map making duties (well it will be taking over shortly anyway)
. Whether or not this file in fact handles “single location maps”, “all map making duties”, or both single and all maps is anyone’s guess.
But that doesn’t seem to matter anymore considering it’s been over 7 months since the developer pushed out a broken update, never once thinking to check if the last update was taking down sites because of errant code.
The method set_map_atts
within this SM_Map_Factory
parent class attempts to pull default map settings via $defaults = $simple_map->get_options();
but the $simple_map
global (gross) object doesn’t actually contain that default data. Instead, the file simplemap/classes/simplemap.php
actually contains the get_options
method with default data, but isn’t assigned to that $simple_map
global object.
Of the various possible fixes, the quickest might be to manually change line 116 in simplemap/classes/maps.php
from $defaults = $simple_map->get_options();
to $defaults = get_option( 'SimpleMap_options' );
. However, this call to $simple_map->get_options();
is strewn throughout the codebase so many times that it isn’t even worth trying to fix.
Not to mention this plugin makes liberal use of JavaScript eval()
, a function that MDN itself clearly states Do not ever use eval!
.
This plugin should be removed from the repository and a big red warning should be affixed to the top of the page: “DO NOT USE THIS DEAD PLUGIN!”
]]>HI The Geolocation seems to have stopped working just get the default map of the US, even if I place the marker myself and update doesent work
]]>When i search for this location “204-208 Bestmann road,Sandstone Point, QLD 4511”
i’m able to see the location and when we search using zip code. locations are not showing up/ nothing happens. We have similar issue with many other locations as well.
In the backend google map shows exact location when i enter the above mentioned address and when it comes to frontend it is not showing up for some locations even if they exist in the backend.
Please help.
Note: we are using the latest version of your plugin and Google maps api with latest version of wordpress
]]>The search form on this page https://www.nbins.com/broker-search stopped working on Monday, no idea why. The very same search form on the French page is still working perfectly: https://www.nbins.com/fr/trouver-un-courtier/
It’s the same app. Using the same shortcode. Just the labels have been changed to French. I’ve hit a brick wall trying to find out what’s wrong – it seems as if the javascript is just not loading on the English page. Any idea what’s going wrong?
Thanks,
-Bruce
We get this when we update:
PHP Fatal error: Uncaught Error: Call to a member function get_options() on null in /classes/maps.php on line 116.
This is what’s on line 116
// Default Options
$defaults = $simple_map->get_options();
Issue here is that referenced method get_options is not found in subject class. This prevents updating the rest of our site(s) when using wp-cli. Please advise, thanks.
]]>If operating the site admin over HTTPS but the front-end of the site over HTTP a mixed content error occurs while editing a location, and the map is not useable.
The source of the error is this line in classes/locations.php:
wp_enqueue_script( 'sm-drag-drop-location-js', site_url() . '?sm-drag-drop-location-js=' . $post->ID, array( 'jquery' ) );
To fix, I changed this line to:
wp_enqueue_script( 'sm-drag-drop-location-js', admin_url() . '?sm-drag-drop-location-js=' . $post->ID, array( 'jquery' ) );
I don’t believe there is any downside to this, because the script is only used in the admin, correct? If so, it’d be great if this could make it into a future release so we don’t have to re-fix later.
Thanks,
Tim
]]>Hi Everyone,
Has anyone managed to work out how to change the labels on the search form please? If so could you share it with me please.
Thanks
Rockyuk
]]>Is there a way to modify the header names? For instance you have a header called “Name” and I want to Change it to “Company Name”. Also I want to add in new columns of info such as “Contact” how can I do that?
Thank You In Advance For Your Help.
Ruth
I have not been able to replicate the error but the client sent me a screenshot that shows the map as grey only without any map within it (specifically in Firefox 56.0.2 in Windows, he was able to see the map fine in other browsers). Some of the tools/icons are there (zoom in and out, street view icon, Google logo and Map/Satellite) but the rest of the map is grey only.
I thought that requesting a new Google Maps API key may help but since it is only in one browser, and using the same browser on the same OS I cannot replicate it, figure that wasn’t worthwhile.
Thank you in advance for any assistance you can provide!
]]>Hi there,
Is it possible to create more than one map with plotted locations? I need two maps with different plotted locations on each for two separate pages of my site.
Many thanks,
Charlotte
All of a sudden the map is no longer working. I have renewed the API key in case that was at fault but am a little lost how to fault find from here.
Here’s the plugins running :
Anti-Spam by CleanTalk: by СleanTalk – 5.67.2
Contact Form 7: by Takayuki Miyoshi – 4.8
Easy Theme and Plugin Upgrades: by Chris Jean – 2.0.0
EWWW Image Optimizer: by Shane Bishop – 3.4.1
Far Future Expiration Plugin: by Tips and Tricks HQ – 1.3
Groups Newsletters: by itthinx – 1.3.3
Groups Restrict Categories: by itthinx – 1.4.0
Groups: by itthinx – 2.2.0
Itthinx Updates: by itthinx – 1.2.0
LiteSpeed Cache: by LiteSpeed Technologies – 1.1.0
Menu Items Visibility Control: by Hassan Derakhshandeh – 0.3.5
Re-Welcome: by Andrew J Klimek – 1.0
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
Simple Maintenance Mode: by Jeff Bullins – 1.04
SimpleMap: by Michael Torbert – 2.5
SSL Insecure Content Fixer: by WebAware – 2.4.0
UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.13.3
WooCommerce Bulk Discount: by Rene Puchinger – 2.4.5
Woocommerce Catalog: by Leonidas Maroulis – 1.2.5
WooCommerce Purchase Order Payment Gateway: by WooThemes – 1.1.3 – 1.1.4 is available
Woocommerce Poor Guys Swiss Knife: by Uli Hake – 2.2.4
Woocommerce Products Per Page: by Jeroen Sormani – 1.2.2
WooCommerce: by Automattic – 3.0.8
WooCommerce Helper: by WooCommerce – 1.7.2 – Network enabled
Wordfence Security: by Wordfence – 6.3.10
WP Crontrol: by John Blackbourn & contributors – 1.5
WP Force SSL: by Kostas Vrouvas – 1.3
WP-Mail-SMTP: by Callum Macdonald – 0.10.1
WPS Hide Login: by Remy Perona for WPServeur – 1.1.7
YouTube: by EmbedPlus Team – 11.8
Hi,
We have a map embedded on the below page and we would like to change the map marker icon.
https://aplancareers.wpengine.com/vacancies/locations/
How can we achieve this? We have a small PNG file ready to upload to our site or via FTP.
If we need to add code we can do this – we just need some guidance where! ??
Thanks,
Laurence
]]>The plugin seems functional but for some reason the map is no longer showing up. Ive tried updating the api but no luck. Is there a bug somewhere or am I missing something?
https://www.gordoncastlescotland.com/where-to-buy/
Thanks!
]]>Hello,
I’m getting quite a few PHP Notices: Undefined index: language, post_translations in …/wp-content/plugins/simplemap/classes/simplemap.php on line 273
I realize it’s only a notice, but still.
Thanks!
wp 4.7.3
simplemap 2.5
I’m using the Email Address Encoder plugin along with Simplemap but is there any way of encoding email addresses present in Simplemap? You can do this through WordPress filters but I’m unsure what I would need to apply. Thanks in advance.
]]>Hello,
Thanks for a nice plugin. I would like to get the map to load results from a bigger radius than 1000 miles. Reading an old answer, I found the reply to add the filter:
function my_custom_sm_radius_choices( $original ) {
return array( 1, 10, 25, 50 );
}
add_filter( ‘sm-search-radii’, ‘my_custom_sm_radius_choices’ );
But that limits the radius down when I tried it. Is it possible increase it?
]]>Hello,
When importing a 65kb file the plugin seems to take a excessively long time to do so. I end up having to increase FcgidIOTimeout to 300 seconds to allow for enough time for the import (default is 60).
Any thoughts on this?
]]>We have worked with premium support to have different map markers per category and the shortcode we were using was [simplemap taxonomy_field_type=’select’] which no longer works.
If we try to access the SimpleMap options within the WordPress dashboard the page won’t load and displays this message: Invalid post type.
I will submit this to premium support as well but figured I would try all support areas. Thank you for your time.
]]>The plugin seems to not work at all in regards to the zip search location.
Please see… https://vnhcare.org/about/map and try 05401 as the zip code, as this should be a zip in that area…
It throws MANY js errors.
]]>I have a rather easy but important question before buying this plugin.
How many locations can i place on my map with this plugin?