SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "1042auth" LINE 1: ...racoes WHERE codigo = '87' AND (centro_custo_id = '1042auth'... ^