Hi @pavineeyes ,
An empty whitespace or a blank line appears due to a conflict with another plugin or your theme. Usually, there is an empty space or a blank line before or after the closing PHP opening or closing tag, which shouldn’t be there.
You can narrow down the exact source of conflict by performing a conflict check. Once you have identified whether your theme or a plugin causes the issue, please contact the developers of that theme or plugin for assistance in finding and removing the whitespace.
@pavineeyes You can see more details in https://ww.wp.xz.cn/support/topic/cannot-create-yoast-sitemap-due-to-parsing-error/
It’s often “white space” in PHP code. It doesn’t affect HTML pages, but you will notice it when you View source. From other side XML files can’t have any space before <xml…
We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.