set error handling to not display notice, strict and warning errors.