Rank Math with Polylang FATAL ERROR
-
I tried the Polylang support (we got premium, so they got to us very fast) with this bug – https://drive.google.com/file/d/1ke35OarOwDqVnZ9jhqiXbP6WT8tqxTb0/view
Here is their answer (direct quote from email):
In fact Seo by Rank Math use the “sanitize_title” with only 1 parameter just here https://plugins.trac.www.ads-software.com/browser/seo-by-rank-math/tags/1.0.43/includes/class-cmb2.php#L292 whereas it should be 3, see: https://developer.www.ads-software.com/reference/hooks/sanitize_title/.
We use this filter with the 3 expected parameters as shown here: https://github.com/polylang/polylang/blob/master/admin/admin-filters.php#L221
And just here https://github.com/polylang/polylang/blob/master/admin/admin-filters.php#L38-L42 for some locales such as the da_DK with special characters in order to build correct slugs.As we expected 3 parameters (mandatory by WordPress) and as Seo by Rank Math send only 1 parameter that’s created a conflict.
- The topic ‘Rank Math with Polylang FATAL ERROR’ is closed to new replies.