checkerrorwarnonly should WARN rather than display ERROR