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.

php errors on front end

Support (Resolved)

LMA Communications
LMA Communications

Hi,

I just purchased and installed this for the first time.

EE 2.2.2 (I know but it’s not feasible to upgrade at this time 9 site MSM install)
sitemap 2.5.2

In the template site/sitemap set to xml I have this code:

{exp:sitemap:get} 

but when viewing on the front end I see a large number of php errors, 34 all exactly the same.

A PHP Error was encountered

Severity
Notice

Message
Trying to get property of non-object

Filename
sitemap/mod.sitemap.php

Line Number
128 

Then the sitemap appears as expected.

 

PutYourLightsOn
# 1
Developer
PutYourLightsOn

please update your Sitemap settings, does the php error still appear afterwards?

LMA Communications
# 2
LMA Communications

Ben,

when viewing the sitemap in a browser that I’m not logged in, there doesn’t seem to be a problem. I did update the settings page and am still getting an error.

PinkCactus
# 3
PinkCactus

Hi Just purchased installed on MSM v2.5.2 same error from the template sitemap

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

Also note after installing mod visiting the the Mod page I get:


A Database Error Occurred
Error Number: 1364
Field ‘statuses’ doesn’t have a default value
INSERT INTO `exp_sitemap` (`url`, `site_id`, `change_frequency`, `priority`) VALUES (‘http://www.someaddress.co.uk/’, ‘1’, ‘’, ‘’)
Filename: C:\Websites\someaddress_co_uk\system\codeigniter\system\database\DB_driver.php

Line Number: 330

PutYourLightsOn
# 4
Developer
PutYourLightsOn

just released version 2.6 which should finally resolve this