emit a warning when a setting has an unexpected type