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.
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.
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?
I would like to know - how you actually deleted the record?
When you have repeating field group item - it will form one-to-many post-relationship internally between the parent (where you added the repeating field group item - one) and repeating field group items (many).
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 would like to know the custom field that holds the Map address value belongs to the repeating field group or Venue post type?
Can you please share admin access details and tell me what marker is still visible and where and I'm happy to investigate this further.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Where we are checking using conditional shortcode if there is parent post ID available, if its not available hense parent post is deleted then the condition will not get satisfy.
That's great thank you Minesh. The map view now works as expected.
Do you think there is an underlying bug that needs to be resolved that when a post is deleted any repeatable groups within the post are also deleted? It seems like that data is left lying around with no way to then delete it.
Or should we go in and delete the venue locations within a venue before deleting the venue?