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.
Related article:
- hidden link
Please check and let me know how it goes.
Thanks,
Drazen
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.