1.1.1 Upgrade problem
                    I upgraded from 1.0.3 to 1.1.1
I'm getting this error message in the discussions page:
Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/youthopea.com/httpdocs/forum/library/Vanilla/Vanilla.Functions.php on line 18
I had a look at the code and the error points to this line:
if ($Discussion->Sticky && $Context->GetDefinition('TextSticky') != '' && $Prefix != '') $Prefix .= ', ';
I'm not sure what the problem, anyone can help?                
                0          
            This discussion has been closed.
             
         
            
Comments
Thanks Mark, love your work.
DiscussionPrefix($this->Context->Configuration, $Discussion)to this:
DiscussionPrefix($this->Context, $Discussion)$DiscussionName = DiscussionPrefix($this->Context->Configuration, $this->Discussion).' ';$DiscussionName = DiscussionPrefix($this->Context, $this->Discussion).' ';Around line 24.
I was seeing similar errors in different areas of Vanilla.Functions.php. Turns out it was because I was using the awesome NamedVanilla theme (actually copied the theme's contents over the default theme): It looks like NamedVanilla doesn't quite work with 1.1.1. I'll see about contacting JasonP to make some fixes.
Thanks!
-Andy