scrub WP_DEBUG warnings and errors by locating syntax and semantic errors