From:             dmb27 at cornell dot edu
Operating system: Redhat AS 4
PHP version:      5.1.6
PHP Bug Type:     Class/Object related
Bug description:  Call to non-static as static E_STRICT thrown when error 
reporting set to E_ALL

Description:
------------
After upgrading from 5.1.2 to 5.1.6, Pear DB starting failing due to a
static call to a non-static method, which should be an E_STRICT (according
to the documentation).  The error reporting level remains unchanged at
E_ALL, which should not include E_STRICT errors.  Reverting back to PHP
5.1.2 cause the problem to go away.

This is reproducable on a few specific pages we have, but not all of our
queries fail, though all of them should flow through the same codepath.

Disabled APC, did not change anything.

Actual result:
--------------
    generateErrorString("Non-static method DB::isManip() should not be
called statically, assuming $this from incompatible context",
"/home/site/overpitch.com/release/current/lib/DB
-1.7.6/DB/mysql.php", 300)
  /home/site/overpitch.com/release/current/lib/DB-1.7.6/DB/mysql.php:300
    debug_php_error(2048, "Non-static method DB::isManip() should not be
called statically, assuming $this from incompatible context",
"/home/site/overpitch.com/release/current/lib/
DB-1.7.6/DB/mysql.php", 300, Array(1))
 
/home/site/overpitch.com/release/current/lib/DB-1.7.6/DB/common.php:1203
    DB_mysql->simpleQuery("SELECT

...

-- 
Edit bug report at http://bugs.php.net/?id=38783&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38783&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38783&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38783&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38783&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38783&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38783&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38783&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38783&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38783&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38783&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38783&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38783&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38783&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38783&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38783&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38783&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38783&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38783&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38783&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38783&r=mysqlcfg

Reply via email to