Support » Plugin: Google XML Sitemaps » Error message on sitemap

  • trosenthal

    (@trosenthal)


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

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • arabhd

    (@arabhd)

    Hi, thank you for your help
    I’ve done some repairs. I hope things are fine now, please tell me if there are other problems
    Accept my greetings

    hi arne,

    the error still occurs:

    This page contains the following errors:
    error on line 2 at column 6: XML declaration allowed only at the start of the document

    below the error message is nothing.

    hope you fix this soon… thank you

    The first line is empty, perhaps this is the problem.

    Is it possible to delete the first line of the generated sitemap.xml automatically in case it is empty? This problem happend a lot of time, i checked google.

    Same problem for me… last version but cannot generate xml properly.
    Please help… could not be this way so much time.

    “The first line is empty, perhaps this is the problem. ”

    That is the problem exactly.

    Helo all:

    @hansglyk @trosenthal

    Check your theme funcions.php

    Erase any line return or space at the end of the file….

    That fixed my problem.

    i checked it but it do NOT fix the problem…

    it would be easy to delete any characters or lines before the “<xml” inside the plugin. perhaps arne put this lince of code into this plugin.

    after this nobody would have this problem any more…

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.