Hello,
Rank Math plugin stores term id in the postmeta table when you select the primary term in the admin and based on this primary term it reorders the terms using the get_the_terms() function. It only reorders the terms and it doesn’t remove/add any term. So when you delete the primary term, the get_the_terms() function will still return the terms which are assigned to the post.
I am not sure why it’s showing the primary term ID on your site even when the term doesn’t exist.
Can you please run a conflict check by following this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Only the site admin would know and your users won’t be affected by this troubleshooting.
Looking forward to helping you.
Hello, i tried installing the Health Check & Troubleshooting
The problem only appeared when the rank math plugin was enabled.
Hello,
Sorry for not following up quickly.
Can you please add your site’s Admin access in the Sensitive Data Section?
Looking forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.