Jump to:

4952 Posts in 14256 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Google Sitemap Decorator errors on my site

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 386 Views
  • tonspa
    Avatar
    Community Member
    1 Post

    Google Sitemap Decorator errors on my site Link to this post

    I host my site on godaddy and for some strange reason after I did a update on there site to the newest sliverstrip I get errors on all the of pages.
    Strict Standards: Declaration of GoogleSitemapDecorator::onAfterPublish() should be compatible with that of SiteTreeExtension::onAfterPublish() in /home/content/56/8436256/html/googlesitemaps/code/GoogleSitemapDecorator.php on line 9

    I can't even log into the admin part of the site anymore. any ideas?

    if there is a answer on here please point me in the right way

    Thanks!

  • Nobrainer Web
    Avatar
    Community Member
    134 Posts

    Re: Google Sitemap Decorator errors on my site Link to this post

    I don't know how to fix it, but try to compare the api docs of the 2 versions of the method onAfterPublish in googleSitemapDecorator.

    To login, perhaps just remove the googlesitemaps module for now.

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Google Sitemap Decorator errors on my site Link to this post

    Make sure you use the correct version of the module for your installation. I recommend using Composer to manage dependancies in 3.0. Sounds like you may need to update your module version.

    386 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.