[wp-trac] [WordPress Trac] #58109: Fatal Error when changed Taxonomy from hierarchical False to True

WordPress Trac noreply at wordpress.org
Mon Apr 10 15:58:00 UTC 2023


#58109: Fatal Error when changed Taxonomy from hierarchical False to True
--------------------------+-----------------------------------------------
 Reporter:  narenin       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  6.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  administration, coding-standards
--------------------------+-----------------------------------------------
Changes (by narenin):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Please find the steps below.

 1. Create a **non-hierarchical** custom taxonomy using
 **register_taxonomy**
 2. Now go to post and then assign some terms of that taxonomy to posts and
 then publish the post.
 3. Now change that **non-hierarchical** custom taxonomy to
 **hierarchical** custom taxonomy by using **hierarchical=>true**
 4. Now go to that post and try to save that post, you should get fatal
 error.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58109#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list