Re: Call to a member function on a non-object
- From: "Sander K" <spkersten@xxxxxxxxx>
- Date: 29 Sep 2005 23:19:38 -0700
Remove the 'global $s..' line and replace it with: 'global $template'.
As the previous replier already stated, importing global var with the
same name as arguments is not a smart thing to do. Furthermore, as
$template isn't defined within sidebar() I assume it is globally
defined.
I hope this helps.
.
- References:
- Call to a member function on a non-object
- From: aaron
- Call to a member function on a non-object
- Prev by Date: Re: HTML PHP Presentation and Logic
- Next by Date: PHP login/Pasword?
- Previous by thread: Re: Call to a member function on a non-object
- Next by thread: Not return a value
- Index(es):