Update Error.php - use self, not static