Eliminate PHP notice and warning messages