JPSpan custom error handler doesn't check for the
suppressed errors. Because of that, ORM frameworks as
Propel, which use suppressed errors quite extensively,
will cause to errors returned by the callback.
The patch is to add the following line to the
ErrorHandler.php file, in the JPSpan directory:
53: function JPSpan_ErrorHandler($level, $message,
$file, $line){
54: if(error_reporting() == 0) return; // <- the new line
This way, all the suppressed errors are not processed
by the custom error handler.