Forum Replies Created

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

    (@gmusicco)

    Hello Dylan. Thank you for your support, it was very helpful.

    Just to provide the most complete information possible, so it can be helpful for you developers or other users, I do not have any security plugins installed on the site. These operations were always carried out with both the cache and optimization plugins disabled. At this point, it is also likely to be a server block.

    I don’t add new markers very often, so I don’t know how long this issue has been occurring. That being said, it’s true that the autocomplete feature still doesn’t work, but I’m fine with at least being able to create and save new markers.

    Thanks again.

    Thread Starter gmusicco

    (@gmusicco)

    I found a solution to the problem. I had to disable the previous option in the Miscellaneous section because the markers had disappeared from the map on the frontend as well.

    However, after checking the browser console errors, I noticed that REST API errors were being triggered repeatedly. So, in the Miscellaneous section, I enabled this other option:

    Ajax Only Transports (beta)

    Now the autocomplete feature still doesn’t work, but I was able to add a marker and save it successfully, so that’s good enough for me.

    Thank you for your support.

    Thread Starter gmusicco

    (@gmusicco)

    I have disabled (not uninstalled) LiteSpeed Cache and Perfmatters again, enabled the option in the Miscellaneous section, and returned to the map from the dashboard while still browsing as an administrator.
    Now the map does not even load the markers that were previously saved. Instead, it shows the loading animation, but the loading process never completes.
    I opened the browser’s Inspect tool, and these are the errors being displayed:

    Failed to load resource: /wp-json/wpgmza/v1/datatables/:1
    the server responded with a status of 403 ()
    (this particular one is shown many times in the console)

    wp-google-maps.combined.js:17099 Uncaught Error
    at params.error.params.error (wp-google-maps.combined.js:17099:11)
    at c (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-hooks&ver=7.0:2:25304)
    at Object.fireWith as rejectWith
    at l (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-hooks&ver=7.0:2:77807)
    at XMLHttpRequest. (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-hooks&ver=7.0:2:80265)

    wp-google-maps.combined.js:14756 Uncaught TypeError: row.map.addMarker is not a function
    at WPGMZA.GoogleMarker. (wp-google-maps.combined.js:14756:14)
    at WPGMZA.EventDispatcher._triggerListeners (wp-google-maps.combined.js:5899:17)
    at WPGMZA.EventDispatcher.dispatchEvent (wp-google-maps.combined.js:5840:8)
    at new WPGMZA.GoogleMarker (wp-google-maps.combined.js:24403:8)
    at WPGMZA.Marker.createInstance (wp-google-maps.combined.js:14812:10)
    at success (wp-google-maps.combined.js:29053:64)
    at params.success (wp-google-maps.combined.js:17157:5)
    at c (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-hooks&ver=7.0:2:25304)
    at Object.fireWith as resolveWith
    at l (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-hooks&ver=7.0:2:77782)


    And then there is this warning, i don’t know if it could be useful:

    As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/deprecations for additional details and https://developers.google.com/maps/documentation/javascript/advanced-markers/migration for the migration guide.

    Waiting for your reply. Thanks for your help

    Thread Starter gmusicco

    (@gmusicco)

    Thank you for your reply.
    Yes, I already tried to disable both Litespeed Cache and Perfmatters at the same time, and even tried to switch from Avada to Twenty Twenty-five, but nothing changed.

    Here’s the link on the website where you can find the map I’m working on:
    https://www.lapietraditrani.com/contact-us/?lang=en

    Waiting for your reply. Thanks for your help.

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