I am trying to:
Edit a page with a view and a map.
The map does not seem to work properly because it shows only about markers while there's about 38 markers to load.
I can edit the view but when I click on the map to edit it, the browser is freezing and I have to quit the browser.
Link to a page where the issue can be seen:
hidden link this page seems to work but there isn't all the markers that should be there.
hidden link
I expected to see:
- more markers
- I should be able to edit the map
Instead, I got:
the map is freezing when I edit it
Hello and thank you for contacting the Toolset support.
** Make a database backup. **
Then check if this issue appears when:
- Only Toolset plugins are activated. It will tell us if there is an interaction issue with another plugin.
If the problem disappears, start activating one at the time to track where the incompatibility is produced.
If this does not help, please allow me temporary access to your site. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
I think that some very weird bug or edge case is happening with that page. That was also crashing for me as soon as I touch the map block. But, I was also able to create another page and add a map on it, I reused the get_markers view and used it as a source of markers in the map block. Check it here hidden link
I suggest removing both pages and removing the get_markers view too then recreating the page from scratch. That might be a quick solution. Would you try it?
It still crash ;-(((
If you enter the map, it crashes.
I am sure at 90% that the modal window to edit the content of the pop-up crashes.
Or, it is related to the conversion of shortcodes in html code : if you type [types field='video-file'][/types] it does not crash but as soon as you validate the modal window, the shortcode is converted (as you can see in the preview panel and everything freezes in the chrome, safari and firefox browser.
It seems that your Maps API key is not working. Check this screenshot hidden link
Maybe this contributes to the issue.
I wanted to double-check again but the page and the views are probably deleted. I'll let you try again with a new map and let me know which one to test it further.
I might need to take a copy of your website for further debugging locally, would you allow me that?
Yes you can download the website. No problem.
The key are working as Google Map is already Counting how much I have spent 😉
I think the problem comes from the length of the string that is generated from the [types field='video-file'][/types]: the string is far too long and the modal window crashes. If you had some spaces in this string, it should remove the bug.
I got the same behavior on a copy of your website locally. I tried to use a content template for the marker popup, it worked for the first time. But as soon as the block editor tries to render a preview of the popup and replaces it with markup for the video field the page freezes.
I got the same behavior on a clean installation too. Let me escalate this to our 2nd Tier for further analysis and get back to you as soon as possible.
This issue is now escalated to our 2nd tier for further analysis. I'll get back to you as soon as possible.
As your robot asked: I still need assistance.
I have rebuilt all the page by hand with my own PHP and Javascript code and it works fine.
It is even faster than using blocks. When the toolset blocks are used, it takes 12 seconds to display the map. With my code, it takes about 1 second.
The issue is now escalated to our developers and we will provide a fix very soon.
We have also published a known issue for other users until we get it fixed. https://toolset.com/errata/cannot-add-shortcodes-to-toolset-address-field-marker-popup/
Once we have a fix, I'll get back to you.
Our apologizes for any inconvenience.