Non-static method krumo::dump() should not be called statically
class.krumo.php
line 1300
Seems a conflict of php5 (PHP Version 5.2.0-8+etch7~bpo.1).
The stupid thing is: I use krumo in my error_handler to display the backtrace, and that works. (may help to find a solution though).
---ERRNO--- E_STRICT
---ERRSTR--- Non-static method krumo::_debug() should not be called statically
---ERRFILE--- /var/www/[***]/krumo/class.krumo.php
---ERRLINE--- 548
---ERRCONTEXT---
*
... (Array, 1 element)
o
data (String, 4 characters ) test
*
Krumo version 0.2a
| http://krumo.sourceforge.net
Called from /var/www/[***]/tests/userinit.php, line 17
Backtrace of errorHandler()
*
... (Array, 3 elements)
o
0 (Array, 4 elements)
+
function (String, 4 characters ) dump
+
class (String, 5 characters ) krumo | (Callback) krumo();
+
type (String, 2 characters ) ::
+
args (Array, 1 element)
#
0 (String, 4 characters ) test
o
1 (Array, 4 elements)
+
file (String, 46 characters ) /var/www/[***]/krumo/class.krumo.php
+
line (Integer) 1300
+
function (String, 20 characters ) call_user_func_array | (Callback) call_user_func_array();
+
args (Array, 2 elements)
#
0 (Array, 2 elements) | (Callback) krumo::dump();
*
0 (String, 5 characters ) krumo | (Callback) krumo();
*
1 (String, 4 characters ) dump
#
1 (Array, 1 element)
*
0 (String, 4 characters ) test
o
2 (Array, 4 elements)
+
file (String, 52 characters ) /var/www/[***]/tests/userinit.php
+
line (Integer) 17
+
function (String, 5 characters ) krumo | (Callback) krumo();
+
args (Array, 1 element)
#
0 (String, 4 characters ) test
*
Krumo version 0.2a
| http://krumo.sourceforge.net
Logged In: NO
I submitted this error.
I must confess, my handler did not ignore (error_reporting() == 0) escaped errors, so this may generally speaking not be an actual problem
Logged In: YES
user_id=1595533
Originator: NO
Hi, this is due to the mixed php4/php5 nature of Krumo. If you download from SVN fom /trunk-php5 there should not be any issues: the code there is php5-only