SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type integer: "kader" LINE 1: ...raining" FROM "live"."teams" WHERE "teams"."id" = 'kader' AN... ^