Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

removing reference to googlesitemaps


2 Posts   255 Views


27 November 2013 at 10:36pm Community Member, 4 Posts

I've recently moved a silverstripe site to a new server. Since then it's bringing up the error:

Fatal error: Class 'SiteTreeDecorator' not found in /home/priorysc/public_html/googlesitemaps/code/GoogleSitemapDecorator.php on line 9

I try removing the googlesitemaps folder, but then it just brings up the error that it can't find the googlesitemaps _config file. Is there any way I can remove the reference to googlesitemaps, or failing that just get the thing to work?

I'm a fairly verse php coder but I don't know that much about silverstripe as it's just been dumped on me.

Anyone know? I'm tearing my hair out over this!



28 November 2013 at 10:41pm Forum Moderator, 5511 Posts

After you remove the module folder you'll need to do a ?flush=1. Likewise, after installing the module you'll need to run ?flush=1