On Fri, 01 Sep 2006 18:35:45 -0400, Robert Cummings <robert@xxxxxxxxxxxxx> wrote: > On Fri, 2006-09-01 at 19:30 -0300, Martin Marques wrote: >> >> Now, each time the system gets executed, I get this in my php >> error log: >> >> PHP Fatal error: Call to a member function get() on a non-object >> in /xxx/xxxx/xxxx/lib/Planta.inc on line 135 >> >> Line 135 has: >> >> $this->cascara->loadPrincipal($this->tpl->get("todo")); >> >> It would seam $this->tpl is not an object, but I put an output >> of is_object($this->tpl) and it gave me true. > > Maybe it's the "wrong" object. Why don't you do a print_r() or > var_dump() instead of assuming the correct object type? :p Did a var_dump earlier, and it gave me the HTML_Template_IT object. I did a is_object because the error says that: "Call to a member function get() on a non-object". >> >> BTW I with PHP 5.0.4 (it's what comes with Fedora Core 4), and >> HTML_Template_IT 1.2.1. > > Maybe you should upgrade. It's in my TODO. I may have to hurry it up. :-( -- --------------------------------------------------------- Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática | '@' || 'unl.edu.ar'; Universidad Nacional | DBA, Programador, del Litoral | Administrador --------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php