Suppress PHP error msgs on API call