Support » Plugin: Custom Post Type UI » Update to 9.0 made all custom taxonomy disappear

  • Resolved Becky Davis

    (@bdgardengirl)


    I about had a heart attack, working on a site with half a dozen custom taxonomies and hundreds of terms, with the update they all disappeared! CPT UI showed now taxonomies to edit and my posts showed nothing but categories. Reverting to 8.5 brought things back, but this was not fun. Please let me know when you have this fixed.
    Thanks

    https://wordpress.org/plugins/custom-post-type-ui/

Viewing 15 replies - 1 through 15 (of 71 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Please read https://wordpress.org/support/topic/090-issues?replies=6#post-6515792 as well.

    It’s been a not-too-fun morning because of this, and I’m still trying to figure out where the holes are and where things went wrong.

    Becky, if you’re comfortable with accessing the database directly, I’d love to get the cptui_post_types and cptui_taxonomies values from your wp_options table. It’ll help debug.

    Thread Starter Becky Davis

    (@bdgardengirl)

    Sure Michael, I would love to help, I hope this is what you’re looking for… I don’t have any post types, just taxonomies.

    cptui_taxonomies
    a:5:{s:13:”content_types”;a:11:{s:4:”name”;s:13:”content_types”;s:5:”label”;s:13:”Content types”;s:14:”singular_label”;s:6:”c_type”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;s:6:”labels”;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}s:10:”post_types”;a:1:{i:0;s:4:”post”;}}s:6:”topics”;a:11:{s:4:”name”;s:6:”topics”;s:5:”label”;s:15:”Clinical Topics”;s:14:”singular_label”;s:5:”Topic”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;s:6:”labels”;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}s:10:”post_types”;a:1:{i:0;s:4:”post”;}}s:10:”procedures”;a:11:{s:4:”name”;s:10:”procedures”;s:5:”label”;s:21:”Procedures-Techniques”;s:14:”singular_label”;s:9:”procedure”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;s:6:”labels”;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}s:10:”post_types”;a:1:{i:0;s:4:”post”;}}s:7:”species”;a:11:{s:4:”name”;s:7:”species”;s:5:”label”;s:8:”Taxonomy”;s:14:”singular_label”;s:8:”Taxonomy”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;s:6:”labels”;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}s:10:”post_types”;a:1:{i:0;s:4:”post”;}}s:7:”channel”;a:11:{s:4:”name”;s:7:”channel”;s:5:”label”;s:7:”Channel”;s:14:”singular_label”;s:7:”channel”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;s:6:”labels”;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}s:10:”post_types”;a:1:{i:0;s:4:”post”;}}}

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Looks like it. Appreciated.

    Now that I think about it, the values from cpt_custom_tax_types would help as well, for comparison between old and new.

    Thread Starter Becky Davis

    (@bdgardengirl)

    Here you go:
    cpt_custom_tax_types

    a:5:{i:0;a:11:{s:4:”name”;s:13:”content_types”;s:5:”label”;s:13:”Content types”;s:14:”singular_label”;s:6:”c_type”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;i:0;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}i:1;a:1:{i:0;s:4:”post”;}}i:1;a:11:{s:4:”name”;s:6:”topics”;s:5:”label”;s:15:”Clinical Topics”;s:14:”singular_label”;s:5:”Topic”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;i:0;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}i:1;a:1:{i:0;s:4:”post”;}}i:2;a:11:{s:4:”name”;s:10:”procedures”;s:5:”label”;s:21:”Procedures-Techniques”;s:14:”singular_label”;s:9:”procedure”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;i:0;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}i:1;a:1:{i:0;s:4:”post”;}}i:3;a:11:{s:4:”name”;s:7:”species”;s:5:”label”;s:8:”Taxonomy”;s:14:”singular_label”;s:8:”Taxonomy”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;i:0;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}i:1;a:1:{i:0;s:4:”post”;}}i:4;a:11:{s:4:”name”;s:7:”channel”;s:5:”label”;s:7:”Channel”;s:14:”singular_label”;s:7:”channel”;s:12:”hierarchical”;s:1:”1″;s:7:”show_ui”;s:1:”1″;s:9:”query_var”;s:1:”1″;s:7:”rewrite”;s:1:”1″;s:12:”rewrite_slug”;s:0:””;s:17:”show_admin_column”;s:1:”0″;i:0;a:12:{s:12:”search_items”;s:0:””;s:13:”popular_items”;s:0:””;s:9:”all_items”;s:0:””;s:11:”parent_item”;s:0:””;s:17:”parent_item_colon”;s:0:””;s:9:”edit_item”;s:0:””;s:11:”update_item”;s:0:””;s:12:”add_new_item”;s:0:””;s:13:”new_item_name”;s:0:””;s:26:”separate_items_with_commas”;s:0:””;s:19:”add_or_remove_items”;s:0:””;s:21:”choose_from_most_used”;s:0:””;}i:1;a:1:{i:0;s:4:”post”;}}}

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    thank you, ma’am 🙂

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Would you be willing to test a currently patched version to see if it clears up the issues?

    I can provide a zip file that you can install that will upload the hopefully fixed version alongside 0.9.5 so you can easily switch back if still not working yet.

    Preferably on a dev copy of your site if possible.

    Thread Starter Becky Davis

    (@bdgardengirl)

    Yes, I can help with this, have a couple of dev sites where I can play. Let me know how to get to the file.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Download and install the following:

    https://github.com/WebDevStudios/custom-post-type-ui/archive/master.zip

    It should name the folder “custom-post-type-ui-master” or so, so the folders won’t clash, but you will probably want to disable the 0.9.5 version before activating this one, as I am sure I have some functions named the same in both, and we don’t need name clashes. After the master.zip copy is installed, you’ll want to flush the rewrite rules once more, and then test things out.

    Thread Starter Becky Davis

    (@bdgardengirl)

    Michael, sorry been too busy to test, but I see that 1.0 is out, is it safe? 🙂

    Thread Starter Becky Davis

    (@bdgardengirl)

    Actually I see that it isn’t. I updated a staging site to 1.0 and lost all my taxonomies again. Had to revert back to 8.5…

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    hrm

    Did you flush the rewrite rules after the upgrade?

    I know I looked over and made changes to the query_var parameter handling for taxonomies.

    Hi,

    First off I want to thank you for a fantastic plugin which has saved me a lot of time when working on numerous sites. However, version 1.0 doesn’t work properly for me either. A previously created custom post type doesn’t show up in the WP admin and it’s not available through the CPT admin. Rewrite rules seem to work fine as I’m able to access the previously created posts from the front-end.

    Really appreciating the time and effort you put in to this.

    So is version 1.0 still not fully bug-free?

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    I’m hoping all of the bugs the were reported last week have been fixed, but there’s definitely chance for fringe cases that i’ll more than gladly help figure out.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    hanseriksson would you be willing to let me into your site, if possible to see what’s going on?

Viewing 15 replies - 1 through 15 (of 71 total)
  • The topic ‘Update to 9.0 made all custom taxonomy disappear’ is closed to new replies.