• Resolved kodgems

    (@kodgems)


    Hi, I am having an error saying

    This page contains the following errors:

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

    Below is a rendering of the page up to the first error.

    need help asap.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @kodgems

    Thanks for reaching out regarding your sitemap. This error usually occurs when there’s an empty?whitespace or a blank line due to a conflict with another plugin or your theme. Usually, there is an empty space or a blank line before or after the closing PHP opening or closing tag, which shouldn’t be there.

    You can narrow down the exact source of conflict by performing a conflict check. Once you have identified whether your theme or a plugin causes the issue, please contact the developers of that theme or plugin for assistance in finding and removing the white space.

    Thread Starter kodgems

    (@kodgems)

    Got it. I am using the DIVI theme and it is causing the issue. It automatically put a line space at the beginning of the page. I have to see and rectify the issue.
    thank you for the quick support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Having error of XML file’ is closed to new replies.