Re: pear DB errors

From: Date: Wed, 31 Jan 2007 01:42:18 +0000
Subject: Re: pear DB errors
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26441@lists.php.net to get a copy of this message
On Tue, 30 Jan 2007 16:59:16 +0100, Frank Dogge <f.dogge@pandora.be> wrote:
Hello, I use PHP 5.2 with the latest stable DB package 1.7.7For database abstraction I use the Pear - DB packageHereby ik get the following
errors:    Non-static method PEAR::isError() should not be called  statically           Non-static method DB::isError() should not be  called statically    I also get a deprecated warning for the is_a()  function in DB.phpSince I am looking for a solution for a long time  with no result I hope you can help me out.Thanks in advance,     Frank Dogge - Belgium
Those are all E_STRICT level error messages. They are related to conformance to PHP5.2's idea of proper coding style. As DB is designed and built as a PHP4 compatible package you will always get errors like that from it. Since E_STRICT is not included in E_ALL in the latest PHP my guess would be that you have a custom error handler function yes? If so you should just tell it to ignore error with level 2048 (the first parameter to your custom error handler). Adam Ashley

« previous php.pear.general (#26441) next »