Google Map for our posts is not updating

This topic contains 26 replies, has 4 voices, and was last updated by  Guust 5 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #465961

    Kiran
    Moderator
    Post count: 7069

    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 defined

    Kiran

    #466095

    Jim Cibelli
    Expired Member
    Post count: 98

    Hey 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.

    #466107

    Alex Rollin
    Moderator
    Post count: 27815

    Can you share the edit link for that listing?
    So many of your listings are in draft mode, so are not visible from the frontend.

    #466112

    Jim Cibelli
    Expired Member
    Post count: 98
    #466116

    Alex Rollin
    Moderator
    Post count: 27815

    the 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.

    #466239

    Jim Cibelli
    Expired Member
    Post count: 98

    Ok 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

    #466245

    Jim Cibelli
    Expired Member
    Post count: 98

    Hold 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);

    #466255

    Alex Rollin
    Moderator
    Post count: 27815

    The 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.

    #466284

    Jim Cibelli
    Expired Member
    Post count: 98

    When 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

    #466287

    Alex Rollin
    Moderator
    Post count: 27815

    That 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.

    #466349

    Kiran
    Moderator
    Post count: 7069

    Hello Jim,

    what would you recommend on how to fix that javascript error.

    ReferenceError: edButtons is not defined

    You 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

    #467328

    Guust
    Moderator
    Post count: 29970

    I 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

Viewing 12 posts - 16 through 27 (of 27 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket