Show a warning if a custom attribute is not defined.