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.

A PHP Error was encountered

Support (Resolved)

linedup
linedup

Hi

I have created a template called ‘sitemap’ inside a template group called ‘pages’. The sitemap template is an XML template and only contains:

{exp:sitemap:get} 

When I try to load the page I get a load of repeated PHP errors:

A PHP Error was encountered
Severity: Notice
Message:  Trying to get property of non-object
Filename: sitemap/mod.sitemap.php
Line Number: 128

Any idea what I am doing wrong please?

Thanks

Jonathan

linedup
# 1
linedup

Ok all my channels were previously excluded. I have added one and now it works.