PHP error catching updates