B
B
Banny_Boom2015-07-17 17:26:17
PHP
Banny_Boom, 2015-07-17 17:26:17

How to fix, Invalid text representation: 7 ERROR: invalid input syntax for type boolean?

I got all the records from the database, I immediately write them back (update .. )
an error appears:
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type boolean: ""' in
I can’t understand what the error is, strange that such error not with all records, and with some. And I can't figure out what's wrong. help me please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wol_fi, 2015-07-17
@wol_fi

Apparently, you are trying to cram a string or character into a boolean column. Check your query and check the table structure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question