This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the user deleted their CPT but didn't delete the posts of that CPT so they are still in the database. They were wondering why.
Solution:
This is actually a normal function. Deleting the CPT in Types doesn't delete the posts themselves. This is actually because in the even that you delete the CPT by accident all your posts are not lost.
The correct way to do this is to delete the posts first then delete the CPT.
In your case you can just re-create the CPT in Types with the same slug then you can just delete the CPT again once you've deleted the posts.
0% of people find this useful.
This support ticket is created 6 years 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.
I made a custom posttype. I put some posts in it and then i deleted the posttype. The posts did not delete automaticaly.
I can still see the posts in my google maps markers, but when i click on the link i get redirected to the homepage. I want to remove the google maps markers, but i can't figure out how.
The link to the problem: hidden link
If you click on the marker 'testwijn 4' for example, you get redirected to the homepage, but the URL remains like it's the post.
This is actually a normal function. Deleting the CPT in Types doesn't delete the posts themselves. This is actually because in the even that you delete the CPT by accident all your posts are not lost.
The correct way to do this is to delete the posts first then delete the CPT.
In your case you can just re-create the CPT in Types with the same slug then you can just delete the CPT again once you've deleted the posts.
I disabled all the non-toolset plugins and tried again, but it didn't work. I don't have a cutom user role, but I still tried what you said. This also didn't work. I get the same error message as before.