Skip Navigation

[Assigned] Map not updating when location deleted

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 1 voice.

Last updated by lucyD 3 hours, 15 minutes ago.

Assisted by: Minesh.

Author
Posts
#2828175
putteridge-bury.jpg

I am trying to: I have a map embedded in an Elementor page using the Toolset View element.

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

I expected to see: We have deleted the Venue (custom post type) Putteridge Bury but it is still showing on the map North East of Luton (see image).

I have gone into Toolset, Settings, Maps. In the Cached Data section I Load Stored Data and remove the item with address Luton LU2 8LE, UK. I see the message 'All changes saved' but if I go out and in again the location is back on the list.

Instead, I got:

#2828180

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Have you tried to clear the view's cache or disable your block view cache?

Please check the following screenshot:
- https://toolset.com/wp-content/uploads/2021/01/1920755-Screen_Shot_2021_01_27_at_10.50.58_AM.png

#2828182
cache.jpg

The view isn't created using the block editor and in the list of views it says 'not cached'. I've tried clearing all the caches I can find and it still seems strange that the address reappears on the list in the Settings.

#2828211

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you are using classic view.

you can disable the Views caching layer for any View in a few by adding cached="off" attribute.

If the View is inserted in the page using a shortcode, you can add the cached="off" attribute in the shortcode, for example:

[wpv-view name="Your view" cached="off"]

More info:
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-154377

#2828225
postcode.jpg

That doesn't make any difference and I think the problem is that the venue-location still exists in the database - it looks like it hasn't been cleaned up properly when the venue has been deleted.

So I have a custom post type venue and within that there's a repeatable field group venue-location. When I search the database for the post code (zip code) of the location I can still see the record in the screenshot. I think Toolset must be still seeing the location from that record.

I've tried running a couple of databased cleaning plugins but it's still there. I wonder whether I am safe to delete that record?