[Fixes #79556166] showing a warning when attribute type is invalid