Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1160557

    The map on this page is not showing. https://erstadarchitects.com/contact/ The api check in theme options says it is connected but the console shows this error:
    Uncaught (in promise) TypeError: Cannot read property ‘marker’ of undefined
    at $.AviaMapsAPI._applyMap (shortcodes.js?ver=2:497)
    at HTMLBodyElement.d (jquery.js?ver=1.12.4-wp:2)
    at HTMLBodyElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLBodyElement.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
    at HTMLBodyElement.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at a.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    Please copy my developer William in all email responses at: (Email address hidden if logged out) . Thank you!

    #1160752

    Hey pamelamyhre,

    You have the js/shortcodes.js in your child theme, has it been updated with a fresh copy?

    Best regards,
    Victoria

    #1160810

    Hi Victoria, where would I be able to get an updated copy of that file?
    It isn’t in the base child theme linked on your theme page.
    Do you have a download link you can give me?

    Thanks

    #1160812

    There is a js/shortcodes.js in the main theme file but that is a lot smaller than the one we have in the child theme, maybe you can just give me the updated map code only and I can swap that out?

    Thanks

    #1161020

    Hi pamelamyhre,

    That’s the point, it has changed over some versions and some of the code moved to separate files. You can use the file from the parent them and add the changes on top of it if you still need them.

    Best regards,
    Victoria

    #1161464

    Hello Victoria, Thank you. I deleted that file in the child theme and the maps are working. What I did not understand is that the file was part of the theme or whatever. I thought it was added until you mentioned the code being moved to separate files. I just thought it was something the person who built the site did.
    Anyhow it’s all good now, thank you for your help with this.

    #1161752

    Hi,

    Great, I’m glad that Victoria could help you out and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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