Index: kernel/utility/logger.php =================================================================== --- kernel/utility/logger.php (revision 15552) +++ kernel/utility/logger.php (working copy) @@ -767,7 +767,7 @@ $this->write(); $last_error = error_get_last(); - if ( !is_null($last_error) ) { + if ( !is_null($last_error) && isset($this->_handlers[self::LL_ERROR]) ) { $handler = $this->_handlers[self::LL_ERROR]; /* @var $handler kErrorHandlerStack */