I am writing to report a problem that I have encountered while using the WPML plugin. Specifically, I am experiencing an issue with the sitemap.xml generated by the Yoast plugin.
When attempting to access the sitemap using the following links:
hidden link hidden link
I am encountering an error that reads:
"This page contains the following errors:
error on line 3 at column 6: XML declaration allowed only at the beginning of the document
Below is a rendering of the page up to the first error."
I have attempted to disable all WPML-related plugins and have confirmed that the sitemap is displayed correctly without any errors.
I would greatly appreciate your assistance in resolving this issue as soon as possible. Please let me know if you require any additional information from me.
I know you have reported an issue is related to WPML, but to be clear can you please check and next get back to:
1) Please check if the issue happens when only WPML plugins disabled?
2) Please check if the issue happens when only WPML plugins and Yoast SEO are activated, all other disabled?
Since I have checked and this is usually caused by blank lines in your theme code or some plugin files, which is a low chance is coming from default WPML, since we would have many other reports from other users also.