Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Tomas Canale

    (@tomascanale)

    Just fixed it!!

    I have diseabled the “Output scripts in footer
    Disable footer scripts if maps are output using AJAX” option on MapPress settings and it’s working properly now.

    Plugin Author chrisvrichardson

    (@chrisvrichardson)

    Hi,

    I’m glad you found a fix. If you have any other compatibility issues, there’s also a setting to output the maps in iframes – it’s a little slower, but prevents most conflicts.

    Thread Starter Tomas Canale

    (@tomascanale)

    Hi there, thanks for the support.

    I’m having another issue: when I place the mouse over a marker, the map disappears. https://financiahogar.es/contact/

    I tried the iframe, but it overrides the CSS styles.

    Here is the console log:

    react-dom.min.js?ver=17.0.1:9 TypeError: a.toJSON is not a function
        at index_mappress.js?ver=2.82.4:1:35640
        at Object.onRenderPopup (index_mappress.js?ver=2.82.4:1:36513)
        at m (index_mappress.js?ver=2.82.4:1:58105)
        at ct (react-dom.min.js?ver=17.0.1:9:43430)
        at Bt (react-dom.min.js?ver=17.0.1:9:50249)
        at os (react-dom.min.js?ver=17.0.1:9:112112)
        at Ur (react-dom.min.js?ver=17.0.1:9:77643)
        at Ir (react-dom.min.js?ver=17.0.1:9:77571)
        at Dr (react-dom.min.js?ver=17.0.1:9:77434)
        at Pr (react-dom.min.js?ver=17.0.1:9:74429)
    rr @ react-dom.min.js?ver=17.0.1:9
    t.callback @ react-dom.min.js?ver=17.0.1:9
    An @ react-dom.min.js?ver=17.0.1:9
    ir @ react-dom.min.js?ver=17.0.1:9
    Br @ react-dom.min.js?ver=17.0.1:9
    unstable_runWithPriority @ react.min.js?ver=17.0.1:9
    xn @ react-dom.min.js?ver=17.0.1:9
    Ar @ react-dom.min.js?ver=17.0.1:9
    Pr @ react-dom.min.js?ver=17.0.1:9
    (anonymous) @ react-dom.min.js?ver=17.0.1:9
    unstable_runWithPriority @ react.min.js?ver=17.0.1:9
    xn @ react-dom.min.js?ver=17.0.1:9
    Nn @ react-dom.min.js?ver=17.0.1:9
    _n @ react-dom.min.js?ver=17.0.1:9
    Er @ react-dom.min.js?ver=17.0.1:9
    Rt @ react-dom.min.js?ver=17.0.1:9
    h @ index_mappress.js?ver=2.82.4:1
    R @ index_mappress.js?ver=2.82.4:1
    F @ index_mappress.js?ver=2.82.4:1
    onMouseOver @ index_mappress.js?ver=2.82.4:1
    (anonymous) @ index_mappress.js?ver=2.82.4:1
    fire @ Events.js:190
    _fireDOMEvent @ Map.js:1440
    _handleDOMEvent @ Map.js:1397
    c @ DomEvent.js:92
    react-dom.min.js?ver=17.0.1:9 Uncaught TypeError: a.toJSON is not a function
        at index_mappress.js?ver=2.82.4:1:35640
        at Object.onRenderPopup (index_mappress.js?ver=2.82.4:1:36513)
        at m (index_mappress.js?ver=2.82.4:1:58105)
        at ct (react-dom.min.js?ver=17.0.1:9:43430)
        at Bt (react-dom.min.js?ver=17.0.1:9:50249)
        at os (react-dom.min.js?ver=17.0.1:9:112112)
        at Ur (react-dom.min.js?ver=17.0.1:9:77643)
        at Ir (react-dom.min.js?ver=17.0.1:9:77571)
        at Dr (react-dom.min.js?ver=17.0.1:9:77434)
        at Pr (react-dom.min.js?ver=17.0.1:9:74429)
    (anonymous) @ index_mappress.js?ver=2.82.4:1
    onRenderPopup @ index_mappress.js?ver=2.82.4:1
    m @ index_mappress.js?ver=2.82.4:1
    ct @ react-dom.min.js?ver=17.0.1:9
    Bt @ react-dom.min.js?ver=17.0.1:9
    os @ react-dom.min.js?ver=17.0.1:9
    Ur @ react-dom.min.js?ver=17.0.1:9
    Ir @ react-dom.min.js?ver=17.0.1:9
    Dr @ react-dom.min.js?ver=17.0.1:9
    Pr @ react-dom.min.js?ver=17.0.1:9
    (anonymous) @ react-dom.min.js?ver=17.0.1:9
    unstable_runWithPriority @ react.min.js?ver=17.0.1:9
    xn @ react-dom.min.js?ver=17.0.1:9
    Nn @ react-dom.min.js?ver=17.0.1:9
    _n @ react-dom.min.js?ver=17.0.1:9
    Er @ react-dom.min.js?ver=17.0.1:9
    Rt @ react-dom.min.js?ver=17.0.1:9
    h @ index_mappress.js?ver=2.82.4:1
    R @ index_mappress.js?ver=2.82.4:1
    F @ index_mappress.js?ver=2.82.4:1
    onMouseOver @ index_mappress.js?ver=2.82.4:1
    (anonymous) @ index_mappress.js?ver=2.82.4:1
    fire @ Events.js:190
    _fireDOMEvent @ Map.js:1440
    _handleDOMEvent @ Map.js:1397
    c @ DomEvent.js:92
    • This reply was modified 3 years, 8 months ago by Tomas Canale.
    Plugin Author chrisvrichardson

    (@chrisvrichardson)

    Hi,

    It looks like the theme is overwriting the Leaflet map library loaded by MapPress. I’ve added a workaround, so this should work in the latest version (2.83.1).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Theme incompatibility’ is closed to new replies.