Deleted categories mysteriously reappear after a few hoursD

  • Unknown's avatar

    Blog: https://www.laseroffice.it/blog/
    WebSite in Italy, I am Italian and I do not know English well, sorry.

    My problem is with the WP Categories.
    I have deleted many posts and their associated categories.
    In admin > categories I have 500 elements of which over 400 are empty (count = 0)
    There are so many to delete 0 then I delete them with the following command:

    DELETE FROM wp_term_taxonomy WHERE taxonomy = ‘category’ AND term_taxonomy_id NOT IN (SELECT term_taxonomy_id FROM wp_term_relationships);

    DELETE FROM wp_terms WHERE term_id NOT IN (SELECT term_id FROM wp_term_taxonomy);

    using phpMyAdmin which returns me:
    418 modified in both query

    Checking in admin > categories I now have 82 items

    So far so good but unfortunately after a few hours all the 0 count categories return to be present !!!

    How is it possible?
    How can I solve it?

    Thank you
    Alex

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    meta name=”generator” content=”WordPress 5.1.1″

    Hi there, it looks like your site is using the open source WordPress software rather than being hosted here on WordPressdotcom.

    For help with a site using the open source WordPress software, you’ll want to head over to https://wordpress.org/support where they have more experience with the software you are using. If you don’t have a username on the ORG forums you can register one on the top of that page.

    Just to clarify, this support forum assists users of the WordPressdotcom platform. WordPressdotcom (where we are ) and WordPress are separate entities with different documentation and support forums. More information about the differences can be found here: https://en.support.wordpress.com/com-vs-org/

  • The topic ‘Deleted categories mysteriously reappear after a few hoursD’ is closed to new replies.