4256

“‘NOT’ requires ‘BOOL’ operand”

Make sure that the condition following the ‘NOT’ is a boolean expression.