Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer:    "23.json"    LINE 4: WHERE (base.id IN ('23.json'))    ^: SELECT base.id AS id, base.name AS name, base.type AS type, base.uid AS uid, base.timestamp AS timestamp,    base.created AS created, base.changed AS changed, base.done AS done    FROM    {log} base    WHERE (base.id IN (:db_condition_placeholder_0)) ; Array    (    [:db_condition_placeholder_0] => 23.json    )    in EntityAPIController->query() (line 187 of    /var/www/html/farmOS/profiles/farm/modules/contrib/entity/includes/entity.controller.inc).

Additional

PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer:    "23.json"    LINE 4: WHERE (base.id IN ('23.json'))    ^: SELECT base.id AS id, base.name AS name, base.type AS type, base.uid AS uid, base.timestamp AS timestamp,    base.created AS created, base.changed AS changed, base.done AS done    FROM    {log} base    WHERE (base.id IN (:db_condition_placeholder_0)) ; Array    (    [:db_condition_placeholder_0] => 23.json    )    in EntityAPIController->query() (line 187 of    /var/www/html/farmOS/profiles/farm/modules/contrib/entity/includes/entity.controller.inc).