Removes notices and warnings from PHP error reporting