• Toolset Types is a great tool. I have used it successfully on several WordPress sites. But, today, I ran into bizarre behavior I have never seen before.

    1. The site is on Dreamhost
    2. The site has Varnish to clear the server cache
    3. Toolset Types was added sometime in 2016 before I started working on the site in 2017.
    4. The person who was using Types must have been confused because custom post types were used where plain old WordPress categories fit the data.
    5. There are no custom fields.
    6. Today, I tried to remove one of the custom post types and it wouldn’t go away. There was no error message.
    7. I tried deactivating it, and it wouldn’t deactivate. There was no error message.
    8. I tried actions 6 & 7 with server cache clearing to no avail.
    9. I tried the bulk delete function and the custom post type would disappear from the list … and then reappear.

    Very, very weird. It was like it was acting like a virus and reinstating itself.

Viewing 1 replies (of 1 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    Likely the Post Type is not registered by Types but anything else on the site, The Theme, or another Plugin, even though usually you should see just native and Types contents in that list.

    I tried to replicate such an issue locally but could not, I wanted to ask if you can see this same problem on a copy of your site after creating a new post type?
    If you can delete that one, then it’s specific to the one type.

    In the worst case you would have to remove it from the Database, however, if it’s Types created, deleting should work. To see what would fail, you could activate WP Debug and log the errors to catch eventual AJAX failures too.
    https://codex.ww.wp.xz.cn/WP_DEBUG
    That might tell us more on how to replicate it.

    I need to inform you that if you use Toolset, as in the paid plugin, you should use the Forum for Toolset.
    Types as the free plugin is to be deprecated by end of this year.

    If you only use the free Types, let’s see if we can replicate and push a fix, after we know more of the Debug log.

Viewing 1 replies (of 1 total)

The topic ‘Can’t delete custom post types’ is closed to new replies.