Re: Does binarycloud work with php5

Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/[email protected]> Thu, 05 May 2005 08:27:34 +0200
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
B. Kamer wrote:
> try putting print_r($topNode); between init() and process() at 
> different lines.
> 
> 225        print_r($topNode);
> 226        $topNode->process();
> 
> $topNode ends up as a string (******** NodeTree STEP 2: process. 
> ********) which is the log message from line 218, not an object...
> 
> hence
> 
> Fatal error: Call to a member function process() on a non-object in /
> Users/bas/Sandbox/bc/binarycloud/init/Project.php on line 226

Maybe the static call to Log::entry has to be suspected...
It's nearly a hack with php4, maybe behaviour changed with php5.

-- 
Jean-Christophe Michel
_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev