Module

Developer
Supported

Sitemap Module

ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Extra content at the end of the document

Support (Resolved)

Wayne Smallman
Wayne Smallman

Hi, when viewing the sitemap, I get the following error:

This page contains the following errors:

error on line 13 at column 52: Extra content at the end of the document
Below is a rendering of the page up to the first error.

There’s no white space in the template, and the template is of type XML.

Any ideas?

Wayne Smallman
# 1
Wayne Smallman

I had to change the include values for each of the Channels, and do the same for Locations.

PutYourLightsOn
# 2
Developer
PutYourLightsOn

Ok, is that working for you now?

Wayne Smallman
# 3
Wayne Smallman

It is, thank you, but I still see an error at the top of the page, though Google doesn’t appear to care too much about that, as it’s verifying in their Search Console.

PutYourLightsOn
# 4
Developer
PutYourLightsOn

Yes, it looks to be outputting correctly now.

Design Station
# 5
Design Station

Posting this in case someone else sees this issue: I discovered that the reason I was seeing it was because I had error reporting and debugging active through the ExpressionEngine control panel. Disabling these removed the errors because then non-xml content is not being loaded when you view the sitemap.

PutYourLightsOn
# 6
Developer
PutYourLightsOn

Thanks for posting that!