Sitemap error

  • Hi,

    Just now I installed Rankmath. Meantime I was using yoast and squiry. Earlier I deleted yoast. On installation of rankmath I deleted squiry too. I set up Rankmath as instructed. But sitemap link shows an error msg as below.
    The page contains following errors
    error on line 2 at column 1: extra content at the end of the document.
    Below is the rendering of the page up to the first error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    This error suggests that there might be some white space before the opening <? in your theme’s functions.php or some white space in your wp-config.php file. You can access the latter by logging in to your site via FTP and checking the root directory.

    Looking forward to helping you. Thank you.


    Thanks for your reply.
    But both files start with <? no white spaces.

    But while login in Admin panel I receive the following message.

    Warning: php_uname() has been disabled for security reasons in /home/xxxxx/public_html/wp-content/plugins/seo-by-rank-math/vendor/rollbar/rollbar/src/Defaults.php on line 66

    And also I got this message from site health:
    The Rest API does not behave correctly

    Please give me email id to create temporary login for you, if you want.

    Thanks you.


    Thank you for contacting Rank Math today.

    I have shared my email address on the sensitive data section.

    Looking forward to helping you. Thank you.

    Sorry bro for the inconvenience. I have facing issues from users. Hence I revert back to Yoast. It does not mean that I rate your plugin low. Really it is a great plugin with many features in one place. The reason is i am facing issues. Anyway I appreciate your earnest support. Thank you very much.

    Hi there,

    Thanks for the response.

    This is quite unfortunate but I hope that you will consider using Rank Math in your future projects.

    Feel free to contact us should any other issues come up.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this ticket.