Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jamesbpn

    (@jamesbpn)

    Hi,

    Thanks for your swift reply. With debug mode enabled in wp-config and in Waymark customizing settings, I’m getting this error when clicking on the “Marker” icon- basically, in MS Edge I’m getting this also without the debug mode:

    Uncaught TypeError: Cannot read properties of undefined (reading '0')
    at Waymark_Map_Editor.build_content (waymark-js.js?ver=1.3.2:10749:33)
    at Waymark_Map_Editor.info_window (waymark-js.js?ver=1.3.2:11001:25)
    at Object.onEachFeature (waymark-js.js?ver=1.3.2:8144:16)
    at a.addData (waymark-js.js?ver=1.3.2:1:83763)
    at button.onclick (waymark-js.js?ver=1.3.2:10212:23)
    Waymark_Map_Editor.build_content @ waymark-js.js?ver=1.3.2:10749
    Waymark_Map_Editor.info_window @ waymark-js.js?ver=1.3.2:11001
    onEachFeature @ waymark-js.js?ver=1.3.2:8144
    addData @ waymark-js.js?ver=1.3.2:1
    button.onclick @ waymark-js.js?ver=1.3.2:10212

    This is the error when trying to include an image into a map via the “Image” icon:

    Uncaught TypeError: Cannot read properties of undefined (reading '0')
    at Waymark_Map_Editor.build_content (waymark-js.min.js?ver=1.3.2:9:209906)
    at Waymark_Map_Editor.info_window (waymark-js.min.js?ver=1.3.2:9:213099)
    at Object.onEachFeature (waymark-js.min.js?ver=1.3.2:9:168402)
    at e.addData (waymark-js.min.js?ver=1.3.2:1:82933)
    at Object.success (admin.min.js?ver=1.3.2:1:4325)
    at c (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2:25304)
    at Object.fireWith as resolveWith
    at l (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2:77782)
    at XMLHttpRequest. (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2:80265)
    Waymark_Map_Editor.build_content @ waymark-js.min.js?ver=1.3.2:9
    Waymark_Map_Editor.info_window @ waymark-js.min.js?ver=1.3.2:9
    onEachFeature @ waymark-js.min.js?ver=1.3.2:9
    addData @ waymark-js.min.js?ver=1.3.2:1
    success @ admin.min.js?ver=1.3.2:1
    c @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2
    fireWith @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2
    l @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2
    (anonym) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2
    load
    send @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2
    ajax @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2
    (anonym) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:5
    e. @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:5
    e.length.wp.media.e.on.wp.media.editor.send.attachment @ admin.min.js?ver=1.3.2:1
    (anonym) @ media-editor.min.js?ver=6.6.1:2
    (anonym) @ underscore.min.js?ver=1.13.4:2
    I @ underscore.min.js?ver=1.13.4:2
    (anonym) @ backbone.min.js?ver=1.5.0:2
    (anonym) @ media-editor.min.js?ver=6.6.1:2
    p @ backbone.min.js?ver=1.5.0:2
    f @ backbone.min.js?ver=1.5.0:2
    a @ backbone.min.js?ver=1.5.0:2
    e.trigger @ backbone.min.js?ver=1.5.0:2
    _onModelEvent @ backbone.min.js?ver=1.5.0:2
    p @ backbone.min.js?ver=1.5.0:2
    f @ backbone.min.js?ver=1.5.0:2
    a @ backbone.min.js?ver=1.5.0:2
    e.trigger @ backbone.min.js?ver=1.5.0:2
    click @ media-views.min.js?ver=6.6.1:2
    click @ media-views.min.js?ver=6.6.1:2
    dispatch @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2
    v.handle @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.1:2

    We have added an additional security check on folder wp-admin. But as Waymark is installed in wp-content folder this shouldn’t have a negative effect, I guess.

    Hope this info is helpful to find the root cause ??
    Kind regards

Viewing 1 replies (of 1 total)