Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla 2 - I can only view the first page of discussions?

blizeHblizeH ✭✭
edited May 2010 in Vanilla 2.0 - 2.8
Sorry, I did post this onto GitHub a few days ago but it hasn't shown up unfortunately!

On Vanilla 2, if you try to view the second page of discussions, or another other page, it brings up an error.

The page in question: http://pathtoapplication.com/index.php/discussions/30

Brings up this: Fatal error: Call to a member function Result() on a non-object in /hsphere/local/home/pathtoapplication.com/applications/vanilla/views/discussions/discussions.php on line 9

Any ideas please?! :(

Thanks

Comments

  • I fixed this and am waiting for Lussumo to pull them.

    Commit: http://github.com/Dykam/Garden/commit/81826ca1952db409d49a185ffda65c14e1c48e2e
  • blizeHblizeH ✭✭
    Ahh, thanks Dykam - but there are discussions available! Or there should be. It's showing about 9 pages of discussions which is right as of pre RC1 :(
  • Yes I know, i had also discussions there (that's why the pagerizer showed upa fter all). Just apply this fix for now. That is:
    applications/vanilla/views/discussions/discussions.php r8
    Replace if (property_exists($this, 'AnnounceData')) {
    With if (property_exists($this, 'AnnounceData') && $this->AnnounceData) {
  • blizeHblizeH ✭✭
    Works a treat! Thanks so much Dykam :-) (again!!)
  • You are encountering the same issues as I am ;)
Sign In or Register to comment.