Adding an ob_clean to the error class so that error messages no longer get printed twice.