Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Patch: Fixes 2 minor Reports errors

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 4679 Views
  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Patch: Fixes 2 minor Reports errors Link to this post

    When running the "Pages edited in the last 2 weeks" report, I get the following errors:

    Notice: Trying to get property of non-object in /var/www/silverstripe/sapphire/core/model/SiteTree.php on line 189

    Notice: Trying to get property of non-object in /var/www/silverstripe/sapphire/core/model/SiteTree.php on line 190

    When running the "Empty pages" report (with no empty pages) I get the following error:

    Notice: Undefined variable: result in /var/www/silverstripe/cms/code/SideReport.php on line 31

    This patch fixes both of those errors: http://www.elijahlofgren.com/silverstripe/patches/Fix-2-Reports-errors-silverstripe.2.0.DailyBuild.2007-05-16.patch

    Let me know if you'd prefer that I combine undefined variable patches and only submit 1 per day. I don't want to create a lot of extra work for you. ;)

    - Elijah

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: Patch: Fixes 2 minor Reports errors Link to this post

    Keep the patches rolling! Great work

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Patch: Fixes 2 minor Reports errors Link to this post

    Combined patches would be good - particularly if you're solving a lot of instances of the same kind of problem.

    4679 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.