Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
655 views
in Q2A Core by

Hello!

Chrome is showing me the following error in my sitemap.xml file:
http://www.kermit.ro/sitemap.xml

error on line 3 at column 6: XML declaration allowed only at the start of the document

1 Answer

+1 vote
by
 
Best answer

Thanks for catching this! The solution is to remove the few blank lines (and the PHP close tag) at the end of qa-plugin/wysiwyg-editor/qa-wysiwyg-upload.php - those blank lines were being output by PHP before the sitemap's XML. This will of course be fixed in the next release.

...