Open saadirfan opened 2 years ago
If it matters, the issue first appeared when a team member attempted to delete and reassign the author's content to a new profile because their business email address changed.
Old Profile: Name: JOHN SMITH Email: john(at)olddomain.com
New Profile: Name: JOHN SMITH (same display name) Email: john(at)newdomain.com
Further, the Authors meta box appears empty for these posts.
@saadirfan Have you run the backfill CLI command wp co-authors-plus create-terms-for-posts
?
@rebeccahum I just ran the command and got the following. But no changes on the front-end side. The author in question is still missing old posts and only showing recently added (new) entries. Again, disabling the plugin brings back all entries.
Updating author terms with new counts
Success: Done! Of 100244 posts, 15 now have author terms.
@saadirfan Did you fix this? I had a similar issue and the wp cli command did not fix it.
I found extra entries for those users in wp_term_taxonomy
- removing the incorrect ones solved this. In my case they were with ones that had a 0 in the count column. One of the users also had a mismatch term_id
and term_taxonomy_id
You can verify which ones are correct by searching for each users respective term_id
in wp_term_relationships
where you'll find all the mapping for their posts.
I inherited a weird bug to troubleshoot. — We have an author with over 3k posts.
With the co-authors plugin enabled:
With the co-authors plugin disabled:
Here is what I've tried:
Here is what I think could help me:
Again, disabling the co-authors plugin fixes the issue.
WP: Version 6.0.2 (VIP hosted) Co-Authors Plus: Version 3.5.2