Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Camille V

    (@socrapop)

    Dear @zebullon,

    First, you have some jquery errors on the posts and pages, “jQuery is not defined”, you should maybe check with your WP Optimize settings to see if you can remove the error. (maybe by disabling minification of javascript ?)

    The error might come from here because on the page where Travelers Map is working, your Jquery errors are not shown.
    The error with Travelers Map is this line :

    Uncaught SyntaxError: invalid escape sequence

    Which is very strange because the string is cleaned before sent to your page so there is no error.

    Please try to clean your wp-optimize cache, if it’s not working, try to deactivate it, and then if it’s working try to change some settings in the javascript optimization until it works. If it doesn’t work even with wpoptimize deactivated, come back here ?? (well come back here anyway, it’s nice to know if it’s working again)

    Have a nice day, Camille

    • This reply was modified 1 year, 7 months ago by Camille V.
    Thread Starter zebullon

    (@zebullon)

    Hi @camille

    Thanks for your answer.

    The JS was already exclude in the path “/wp-content/plugins/travelers-map” in the WPOptimise plugin.

    So I had

    • clean the WPOptimise plugin cache => no effect.
    • desactivate the minification of ALL JS Scripts => no effect.
    • desactivate the WPOptimise pluging and delete cache folder on web server => no effect.
    • clean the cache of the 3 browsers i use for testing (Edge, Chrome and Firefox) => no effect.

    So i come back to you…

    Regards

    Plugin Author Camille V

    (@socrapop)

    Could you try changing your “attribution” setting ?
    It seems there is a problem with the link to openstreetmap, the first quote might be broken :

    <a href="\\"https:\\/\\/www.openstreetmap.org

    Save your actual field, and then try to remove the link or to change it, to find what could be the problem with that. (you could even put an empty string as a temporary test.

    If it’s working, could you tel me what was the problem ? Is this from the widget setting attribution or from the global plugin attribution setting ?

    Thank you (I hope it’s that)

    Plugin Author Camille V

    (@socrapop)

    I just had another look, and a plugin is messing with the link in the generated json data, adding data-wpel-link="internal"

    Are you using this plugin ? https://www.ads-software.com/plugins/wp-external-links/

    Could you try to disable it and save the attribution link again ?

    Thread Starter zebullon

    (@zebullon)

    Hi Camille.

    Thanks for your help.

    The attribution string is

    ? <a >OpenStreetMap</a> contributors and ? <a >CARTO</a>

    Problem come from the “wp-external-links” plugin ! i desactivate this plugin and “it’s works now ! i will search another pluging / solution for external links…

    Thanks a lot for your troubleshooting.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘maps ares not shown on single post or page view’ is closed to new replies.