Javascript error in admin

New home Forums Pro Add-on Troubleshooting Javascript error in admin

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22199
    dvdmierden
    Member

    Since a couple of days I’m unable to access the gmaps functionality via admin area. I just get a grey screen.

    When viewing the source code of the page, it seems that the javascript containing the marker information is broken. It just stops right in the middle of a city name. There’s no special characters in the name or any other field of that marker. There’s no other html code beyond the javascript which seems to indicate either a (php) error or a lack of memory.

    The server is configured to have memory_limit 768MB. There are almost 750 markers in the map. On my dev environment, everything works correctly. Same code, different server.

    Any thoughts?

    #22202
    PatD
    Moderator

    Good Morning,

    Could you please inspect the code in the Developer Console (press [F12] while viewing the problematic page in your browser) and copy/paste any errors displayed in a reply to this topic?

    If you would like us to take a closer look at your site, could you please create a temporary admin account for your WordPress site and send me the following information:

    – Temporary Admin Username
    – Temporary Admin Password

    Please send this information in a private reply to this topic. Click the Set as private reply checkbox under the topic editor.

    • This reply was modified 6 years, 7 months ago by SupportTeam.
    #22203
    dvdmierden
    Member
    This reply has been marked as private.
    #22222
    PatD
    Moderator

    Good Morning,

    First I want to apologize for the delayed response. I looked at your site yesterday and wrote out a response, but apparently forgot to hit Submit. That’s embarrassing.

    When I looked at the Developer Console on your Maps page I found 2 warnings related to the Google Maps API. One was No API Key and the other was that you were using a retired version of the API. I also noted that you are using older versions of both WP Google Maps and the Pro Addon. Please update both to the latest version (WPGM v6.3.20 and Pro v6.08). You can request an updated version of Pro here: https://www.wpgmaps.com/get-updated-version/.

    After updating you’ll need to change the Google Maps API version to 3.26 here WordPress Dashboard → Maps → Settings → Maps. If that does not resolve the issue then you will need to regenerate your Google Maps API key using the Google API Manager Console. If you need detailed instructions on doing that, see our documentation.

    I hope this helps.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.