[wp-trac] [WordPress Trac] #31961: Ajax response when categories delete
WordPress Trac
noreply at wordpress.org
Wed May 17 06:39:08 UTC 2017
#31961: Ajax response when categories delete
-------------------------------+------------------------------
Reporter: tadaimushi | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: administration
-------------------------------+------------------------------
Comment (by moeloubani1):
I noticed this issue recently when working on a site that had lots of
posts imported from another database and assigned to a custom taxonomy.
After importing ~15k posts and ~100 taxonomies or so I found 9 or so
entries in the wp_term_relationships table with an object_id of 0.
Once I deleted those rows (and because they were just relationships with
an object with an ID of 0, so basically nothing I guess) it fixed things
and I was able to delete the taxonomy without getting the error.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31961#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list