Skip Navigation

[Resolved] Map using view block markers not reloading properly

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by tenseg 3 years, 8 months ago.

Author
Posts
#1984509

This map worked fine when we created it a few months ago. But we have received reports that it was broken and discovered that although it loads once, any reloads of the page do not reload the map.

I am trying to: Display a map with markers from a view block.

Link to a page where the issue can be seen: hidden link

I expected to see: The map, even if I reload the page, or if I leave an return to the page.

Instead, I got: Perpetually loading map, never completes and displays.

We have found that if we use the Safari Developer menu and Empty Caches, then the map will load again, which makes it seem as though something that is being cached is preventing this map from reloading.

#1984847

Hello and thank you for contacting the Toolset support.

I am on a Windows machine, so I tested the page in Chrome, Edge, and Firefox. I could not reproduce the issue. The map loads finely every time.
I can pass this ticket to one of my colleagues with a Mac machine to test it in Safari, but he will need to know the steps to follow to reproduce the issue.

I also noticed that you are using outdated versions of Toolset plugins. The latest versions are the following:
- Toolset Types 3.4.7
- Toolset Blocks 1.4.2
- Toolset Maps 2.0.6

Maybe updating to the latest releases will fix the issue. ** Make a full backup before updating. ** Preferably, work on a staging site first.
Please note that Types 3.4+ has introduced a new database schema for relationships. After updating, go to Toolset->Relationships to make sure the relationships are migrated correctly.

#1984925

The “steps” are simply to try loading and reloading the page. We are also seeing the problem when using Microsoft Edge on the Mac (a chromium browser) and when trying to load the page on an iPad.

#1984965

I'll check with my teammates for who's got a mac machine to test this further. Unfortunately, this needs to wait for Monday.

#1984987

It appears that after updating the plugins the map works again, loading at each reload.

This site is a sub-site on a network, so I think that is why the updates weren't appearing for automatic install. But it'd be great if Toolset could somehow be sensitive to that situation and allow the main site to update the plugins even if it is itself not registered with them. Alternatively, the Toolset settings on the Dashboard could give a warning that there is an update when it sees that it is running in a WP multisite install, since the auto-update does not work.