• Hi,
    Just new to the plugin, but looks amazing!

    Having one issue.
    Using the store map shortcode:
    [wpsl_map category="Distillery" width="auto" height="500"]
    to insert the “Store Map” into a page.
    When clicking on the map marker for the store, the rollover name shows up, but the text box that should show up with the marker (store) details does not and I get an error:

    underscore.min.js?ver=1.13.1:2 
    Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
        at Function.template (underscore.min.js?ver=1.13.1:2)
        at Y (wpsl-gmap.min.js?ver=2.2.234:1)
        at _.Ch.<anonymous> (wpsl-gmap.min.js?ver=2.2.234:1)
        at Wf.pr (js?language=en&regio…hp0&v=quarterly:232)
        at Object._.I.trigger (js?language=en&regio…hp0&v=quarterly:228)
        at pG.<anonymous> (marker.js:35)
        at Wf.pr (js?language=en&regio…hp0&v=quarterly:232)
        at Object._.I.trigger (js?language=en&regio…hp0&v=quarterly:228)
        at Object.onClick (marker.js:19)
        at Fga._.n.onClick (common.js:160)
    template	@	underscore.min.js?ver=1.13.1:2
    Y	@	wpsl-gmap.min.js?ver=2.2.234:1
    (anonymous)	@	wpsl-gmap.min.js?ver=2.2.234:1
    Wf.pr	@	js?language=en&regio…hp0&v=quarterly:232
    _.I.trigger	@	js?language=en&regio…hp0&v=quarterly:228
    (anonymous)	@	marker.js:35
    Wf.pr	@	js?language=en&regio…hp0&v=quarterly:232
    _.I.trigger	@	js?language=en&regio…hp0&v=quarterly:228
    onClick	@	marker.js:19
    _.n.onClick	@	common.js:160
    N._.Fn.ze	@	common.js:66

    But when I use the search shortcode:
    [wpsl category="Distillery" width="auto" height="500"]
    everything works fine.
    I have been able to resolve that by disabling the plugin “All in One SEO Version 4.1.4.4” the store map shortcode returns to normal operation.

    Any suggestions as to where to look for the solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    It is a bit difficult to know what is going on… many plugins have a lot of dependencies and it could happen that there is a different version of underscore.js being loaded by some other plugin. Could you please try activating the compatibility mode in the wp store locator plugin?

    Regards,

    Thread Starter aichkaye

    (@aichkaye)

    Thanks for your quick response.

    Compatibility mode was already on.

    I have tried disabling it, clearing all caches and the result is the same.

    As soon as I disable “All in One SEO” then it works again.

    Compatibility mode on and AIOSEO off also works fine.

    Rgs
    Ryk

    Thread Starter aichkaye

    (@aichkaye)

    Interesting development.

    I tried removing the shortcode from the body of the page and added it to a custom HTML particle inside a separate section in a dedicated outline, and it now works fine with AIOSEO enabled.

    FWIW
    Ryk

    Oh, that is interesting. As I said, there are so many intricacies that sometimes it is difficult to track certain dependencies, I am glad you figured it out yourself. I will take note so if anyone else runs into this I have some information to give them.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Marker text Uncaught TypeError’ is closed to new replies.