Hi, when I generate a dynamic sitemap, no matter which plugin I use, I get the following Javascript at the bottom of my sitemap.xml file. This is not valid xml and causes the sitemap to fail submission. I tried searching all files on my server and the WordPress database for this code but I can’t find it.
[code removed by moderator]
As a workaround I’m currently using a static sitemap until I can resolve this issue.