Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
This sitemap error indicates that there must be some white space before the XML Sitemap’s source code. You can check the source code of Sitemap to see if there are some extra blank lines before the XML. This is usually caused by blank lines or spaces in your wp-config.php
or functions.php
file.
Please check the link below and follow this troubleshooting guide to fix that issue:
https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration
Let us know how it goes. Looking forward to helping you.
Thank you.
Hi Princess,
There is no white space in the code. I am unable to fix the issue. Please help me out.
Thank You
HI Please Help me resolve the issue…
Hello,
This is the error showing in the sitemap, that’s why it’s not generating properly:
Function amp_has_paired_endpoint was called incorrectly. Function cannot be called before services are registered. The service ID "paired_routing" is not recognized and cannot be retrieved in /home/u329978953/domains/bestgrd.com/public_html/wp-includes/functions.php on line 5870
Function amp_is_available was called incorrectly. <code>amp_is_available()</code> (or <code>amp_is_request()</code>, formerly <code>is_amp_endpoint()</code>) was called too early and so it will not work properly. WordPress is not currently doing any hook. Calling this function before the <code>wp</code> action means it will not have access to <code>WP_Query</code> and the queried object to determine if it is an AMP response, thus neither the <code>amp_skip_post()</code> filter nor the AMP enabled toggle will be considered. The function was called too early (before the plugins_loaded action) to determine the plugin source.
Assuming you are using the latest version of all the plugins and the themes (please update if not yet), this could be caused by a conflicting plugin/theme on your site. Based on the error, it was generated by the AMP plugin you’re using.
To verify that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c
Only the site admin would know and your users won’t be affected by this troubleshooting.
Hope that helps.
Thank 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.