how do i fix this php error?
<blockquote>
  <p>Fatal error: Call to a member function hooks_dp3rsSidebar() on a non-object in
  on line 63</p>
</blockquote>

<p>and this is what on line 63:</p>

<pre><code>return $this-&gt;registry-&gt;output-&gt;getTemplate( 'referrals' )-&gt;hooks_dp3rsSidebar( $this-&gt;referralsSystemLibrary-&gt;getTopXReferrers() );
</code></pre>
