SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for type bigint: "(leave blank)"
CONTEXT:  unnamed portal parameter $1 = '...' (Connection: pgsql, SQL: select count(*) as aggregate from "venue_masters" where "id" = (leave blank))