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


Chrome is showing me the following error in my sitemap.xml file:

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

1 Answer

+1 vote
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.