Nonvalid literal value for the boolean type, PDO

SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type boolean: ""' error has been fixed