• Resolved sharkyblunt

    (@sharkyblunt)


    Hi, I’m trying to troubleshoot an issue whereby my Novo-Map doesn’t appear on the published page, but it does appear OK in my admin preview.

    I do have Smush enabled but it’s not doing any lazy-load of images. I have renewed my Google Maps API key but that hasn’t fixed it. I can see some errors in the Developers console, including a RetiredVersion API call error, but I can’t work out if any of them are causing the error in question.

    Any ideas? Thanks!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 22 total)
  • twitch232

    (@twitch232)

    I am having the same issue with Novo-Map — I tried adding the fix “php wp_footer()” to the themes footer.php — still will not display to anybody who isn’t signed in as an admin.

    Thank you – Appreciate any help I can get to fix this.

    mikehermary

    (@mikehermary)

    Hello sharkyblunt,

    It looks like jQuery is failing to load on numerous pages on your site. I would try to diagnose why it is not loading. It could possibly be related to an installed page optimization plugin as I see the HTML source code is minified.

    Hope this helps.

    Cheers,

    Plugin Author bluisier

    (@bluisier)

    Hi @sharkyblunt ,

    as @mikehermary said, it’s probably because you use an optimization plugin (looking at the console, I would say autoptimize). Firts I would try to deactivate your optimization plugin to see if the problem comes from that. Then I would try to exclude Jquery from any optimization (like deferring). It should help

    Plugin Author bluisier

    (@bluisier)

    @twitch232 do you have an url to share that I can see the issue?

    Optimizing Matters

    (@optimizingmatters)

    @sharkyblunt make sure AsyncJS is not deferring jQuery and things will likely be better ??

    frank (autoptimize/ asyncjs dev)

    Thread Starter sharkyblunt

    (@sharkyblunt)

    Disabling AsyncJS seems to have done the trick. I’d like to enable it if possible though, as it’s good for my PageSpeed score, so is there some magic combination of AsyncJS settings that will enable Novo Map to work?

    Thanks!

    Optimizing Matters

    (@optimizingmatters)

    Have you tried configuring AsyncJS to exclude jQuery from being deferred?

    Thread Starter sharkyblunt

    (@sharkyblunt)

    Yes, if I re-enable AsyncJS it blocks the Novomap, whatever settings I use, as far as I can see.

    No matter if I “Apply Async (jQuery Excluded)” or “Apply Defer (jQuery Excluded)” then the map does not appear.

    Optimizing Matters

    (@optimizingmatters)

    And what JS errors still appear on the browser console when jQuery is excluded from being deferred?

    Thread Starter sharkyblunt

    (@sharkyblunt)

    With “Apply Defer (jQuery Excluded)” applied the map does not show.

    In the Chrome developer console I get two red warnings “(index):2142 Uncaught ReferenceError: wp is not defined” and “(index):2622 Uncaught ReferenceError: google is not defined”.

    I also see a yellow warming “util.js:251 Google Maps JavaScript API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version

    Optimizing Matters

    (@optimizingmatters)

    OK, can you try adding wp-includes/ to the exclusion list and test again?

    Plugin Author bluisier

    (@bluisier)

    @sharkyblunt I’ll take care of the warning in the next few days. I juste have to upgrade the version of the Gmap API and make sure it doesn’t break anything

    Thread Starter sharkyblunt

    (@sharkyblunt)

    OK, so I now have wp-includes/ in the script exclusion box, I’m excluding Novo Map in the Plugin exclusions box and I have “Apply Defer (jQuery Excluded)”.

    The map is still not showing. The only way I can get it to show is to disable Async JavaScript altogether.

    Optimizing Matters

    (@optimizingmatters)

    The map is still not showing.

    ok, so what JS errors are still visible in that configuration?

    Thread Starter sharkyblunt

    (@sharkyblunt)

    Now just one red: “(index):2622 Uncaught ReferenceError: google is not defined at (index):2622”

    And one yellow “util.js:251 Google Maps JavaScript API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Novo-Map Not Showing’ is closed to new replies.