Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Problems making discussion Sticky, Closed, etc.

Whenever I try to make a discussion Sticky, Closed, etc. I run into a problem. First the little Ajax loader never goes away, then if I go back to the discussion I get:

Fatal error: Call to a member function GetDefinition() on a non-object in /library/Vanilla/Vanilla.Functions.php on line 18

I've read of a few others having similar issues and I've double checked that all of my files are up to date and I've even tried a fresh install.

I'm using The Beautiful Lie theme. Any ideas how I can fix this?

Thanks.

Comments

  • I am having the exact same problem with the "Vanilla Blue Theme". I've tried looking into this but I can't figure out what could be wrong. Does anyone out there know about this? Is it a theme problem or a combination of installation/theme issues? Thank you in advance...
  • Does this work OK on the default theme?

    Maybe the themes need to be updated for Vanilla 1.1.2?
  • Things seem to work in the default theme, although the Ajax loaders still hang forever in Safari.

    I don't think my theme is being actively developed any more, so what can I do to get this working on my own?
  • Since I'm not familiar with which theme file could causing this, I would identify which theme file it is that is causing the problem--copy any that look like they could be the ones out and replace them with the corresponding default theme files--if the problem goes away, then bring them back one by one until it comes back. Then you know the problem is in the latest file copied back.

    Then compare that file with the default file and see how they differ.

    I don't see anything off hand that jumps out at me.
  • I've been noticing quite a few more of these "non-object" errors in the recent version, not sure what's spurring them but I'm still hunting.
  • hi! i also just got this error on the comments list, but also found a solution for mine: by tracing through the code i noticed a programming error in my themes/comments.php on line 24 i changed $CommentList .= DiscussionPrefix($this->Context->Configuration, $this->Discussion).' '; to $CommentList .= DiscussionPrefix($this->Context, $this->Discussion).' '; because the DiscussionPrefix function needs the context object as 1st parameter regards, J
  • I just replaced comments.php and comment_form.php with the default and everything works in The Beautiful Lie theme now!
This discussion has been closed.