Google Map for our posts is not updating
This topic contains 26 replies, has 4 voices, and was last updated by Guust 6 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Map Google Api
-
AuthorPosts
-
January 29, 2019 at 8:56 am #465961
Hello Jim,
I have run GD Tool > Clear DB versions and seems issue is fixed now.
Please check and let us know.
Also there is a JavaScript error on backend add listing pages.
ReferenceError: edButtons is not definedKiran
January 29, 2019 at 8:47 pm #466095Hey it did seem to fix some of the issues but some of the restaurants are still broken
here is an example
https://vrconcierge.com/restaurant/the-capital-grille-31/Also what would you recommend on how to fix that javascript error.
January 29, 2019 at 10:22 pm #466107Can you share the edit link for that listing?
So many of your listings are in draft mode, so are not visible from the frontend.January 29, 2019 at 10:27 pm #466112Here you go
https://vrconcierge.com/wp-admin/post.php?post=7888&action=edit
Here is another with a restaurant that has multiple locations
https://vrconcierge.com/wp-admin/post.php?post=14497&action=edit
January 29, 2019 at 10:36 pm #466116the 7888 listing is broken because it has no category.
Add a category and it should be fine.14997 got a proper permalink and works after update.
/restaurant/washington/seattle/the-capital-grille-31/When you have so many listings it can take some time for the permalinks to be rebuilt.
I will flag your topic for the developers and ask them if there is additional advice for permalinks when there are 20k listings.
January 30, 2019 at 6:06 pm #466239Ok that sounds good but back to the map issue. Would this mainly be an issue with the theme or a plugin and how could I figure out which one without deactivating them all on the site
January 30, 2019 at 6:30 pm #466245Hold on I added some code to my wp-config fiel and now I’m getting a new error
Here is the code I added
define(‘CONCATENATE_SCRIPTS’, false);
January 30, 2019 at 7:24 pm #466255The map will break if listings do not have a category. For example, if a single restaurant post does not have a category, then any archive page showing that listing on the map, the map will not behave properly.
If the code you add to wp-config causes errors, you should remove it.
January 30, 2019 at 9:59 pm #466284When I save the new listing as a draft it seems to have a default longitude and latitude in walnut creek that doesn’t change when you set the address.
So the map shows the google map in a California Location even though it should show up in my test location
Whenever I hit add listing it has a default longitude and latitude we did not set
If we where able to save draft with the map coming up in the correct location we would be happy
January 30, 2019 at 10:09 pm #466287That is the lat lon and address of the default location.
If you add the address and adjust the map pin, they should save as they are updated.
January 31, 2019 at 5:01 am #466349Hello Jim,
what would you recommend on how to fix that javascript error.
ReferenceError: edButtons is not definedYou need to find from which plugin this error is coming. Try to disable non-GD plugin one buy one to find which plugin it causing this. You also need to check whether it is coming from theme or not.
There is a bug in snippet that you added in child theme funcions.php file for defers JavaScript function.
You have used:
return "$url' defer ";It should be
return "$url' defer='defer";Kiran
February 5, 2019 at 11:43 pm #467328I have split this topic to https://wpgeodirectory.com/support/topic/split-google-map-for-our-posts-is-not-updating/ to get make it easier to resolve.
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket