Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 20

6apxatCrusoeconnectrgarygarylealeafmonsterleogopalsarowlwp +12 guests

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

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

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

    Commit: http://github.com/Dykam/Garden/commit/81826ca1952db409d49a185ffda65c14e1c48e2e
  • Posts: 840
    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 :(
  • Posts: 132
    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) {
  • Posts: 840
    Works a treat! Thanks so much Dykam :-) (again!!)
  • Posts: 132
    You are encountering the same issues as I am ;)
Sign In or Register to comment.