• Resolved Tom De Smedt

    (@steven_gardner)


    Hi,

    I’ve had several people who are using my free theme complaining that images have stopped displaying on their homepage. When they disable WP Google Maps they start working again.
    I’ve had a look and there is a JS error in the inspector that’s preventing other scripts from running properly:

    Uncaught TypeError: Cannot read property ‘match’ of undefined
    wpgmaps.js?ver=7.0.00b:1238

    var m = data.center.match(/-?\d+(\.\d*)?/g);

    Is this a known fault or is there a fix for this?

    I have a theme option that allows users to paste the WP Google Maps shortcode in so it displays in a specific part of the homepage.
    Here is part of the display code:

    echo wp_kses( do_shortcode( $mapShortcode ), 'post');

    Any help would be much appreciated.

    Thanks
    Steven

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Tom De Smedt

    (@steven_gardner)

    Hi I’ve just noticed the same thing is happening on our demo site:

    https://demos.templateexpress.com/gym-express/

    I’m wondering if there is a conflict somewhere.

    Plugin Author DylanAuty

    (@dylanauty)

    Hi @steven_gardner,

    Thank you so much for getting in touch and our sincere apologies for the trouble caused by this issue.

    Could I ask you to confirm that you are using the latest version 7.0.01 on the site?

    It appears there is a possible conflict at play, however I would just like to ensure the latest versions are installed before proceeding.

    I look forward to hearing back from you.

    Thread Starter Tom De Smedt

    (@steven_gardner)

    Hi @dylanauty,

    It looks like the latest update (7.0.01) fixed the issue.
    Thanks for the prompt update. ??

    Thanks
    Steven

    • This reply was modified 6 years, 11 months ago by Tom De Smedt.
    Plugin Author DylanAuty

    (@dylanauty)

    Hi @steven_gardner,

    Fantastic news, so glad to hear that did resolve the issue on your side.

    Please do let us know if you ever need anything else, we would be happy to assist!

    Have a great day! ??

    Thread Starter Tom De Smedt

    (@steven_gardner)

    Hi @dylanauty,

    Sorry to have to pick this issue up again. Someone using our theme has been in touch with the same issue mentioned throughout this thread.

    They are using version 7.10.28 but there are errors breaking the JS.

    If I disable the plugin our parallax and other js starts working again.

    Here is the example site: https://www.rightnowfitness.net/

    Any help or advice would be great.

    Many Thanks
    Steven

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JS Error breaking other things’ is closed to new replies.