Temp fix in namespace RankMath\Sitemap\Providers;
add ‘lang’ => ”, to $arg of get_terms
https://ibb.co/0GrBLL9
https://ibb.co/n0FMxgd
-
This reply was modified 4 years, 1 month ago by APKMODY.
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Thank you for sharing it! Then, does it solve your issue? I will send the devs this thread so they can check it.
Looking forward to helping you. Thank you.
Hello,
The Polylang team has added the compatibility for the Yoast plugin and we had asked them to do the same for Rank Math. Last year, we also submitted a PR in their repo but for some reason, they are not merging it.
Here is a PR link: https://github.com/polylang/polylang/pull/373
The PR also includes the code which will fix the Sitemap issue.
Please contact the PolyLang team and ask them to merge the code into their public plugin so that the issue can be fixed permanently.
Hope that helps.
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.