Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
I have reported this problem to our dev team for closer investigation and we will be getting back to you in a short while.
Looking forward to helping you. Thank you.
Hello,
This is a known issue and it will be fixed in the next update, coming out very soon.
Other than the error message you see, it should not cause any issue, so you can either disregard it until you install the new version, or fix it for yourself in the referenced file includes/modules/sitemap/class-admin.php. For that, change line 126 to this:
$url = isset( $urls[ $post_type ] ) ? $urls[ $post_type ] : ( in_array( $name, [ 'post', 'page' ], true ) ? KB::get( "sitemap-{$name}" ) : '' );
Doing that will fix the error. Hope that helps.
-
This reply was modified 4 years, 11 months ago by Balazs.