• Resolved jungalist

    (@jungalist)


    Uncaught TypeError: $(…).maps is not a function
    at HTMLDocument.<anonymous> ((index):194)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    Hello, we have started getting this error on our map page. All plugins and WordPress are up to date and there is a Google API key registered. I am not sure how long it has been like this unfortunately, so no clues in that direction.

    Do you have any idea what might cause this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Can you provide a link to the page where this error exists so I can see the problem live?

    Typically though, if you see “maps is not a function” that means the Google Maps JS is not being properly loaded on the page. It could be a caching plugin, or script concatenation plugin. Or maybe you are loading scripts in a particular order and the Google JS is loaded too late on the page for the map to load properly.

    Provide me some more context and a live link and I’ll do what I can. Thanks!

    Thread Starter jungalist

    (@jungalist)

    Thank you for your response. I have placed the map on a test page to minimize other variables: https://lux9.com/map-test/

    For the record, I have tried with a default WP theme and it still didn’t work. It was working for a long time prior to this, but as I mentioned, I am not sure exactly when it stopped.

    Thanks again!

    Thread Starter jungalist

    (@jungalist)

    Update: Don’t worry about this. They have decided that they are happy with a vanilla Google Map. Thank you again for your attention!

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    There’s a few things I can see from that page (if you’d like to try again):

    1) The JS error generally speaking suggests that our scripts are not output on the page. Perhaps you have a caching or minifying plugin which is causing trouble. While troubleshooting, try deleting your cache completely and deactivating all caching and minification plugins.

    2) There is a warning for a missing Google Maps API error. Here’s docs on creating your Maps API key: https://wordimpress.com/documentation/maps-builder-pro/creating-maps-api-key/

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error: $(…).maps is not a function’ is closed to new replies.