2
The class XoopsErrorHandler is defined in class/errorhandler.php and instantiated in include/common.php. The class constructor registers an error handler function and a shutdown function. Those registered functions get called automatically, so there are no other places in the code where the class is referenced.