A PHP Error was encountered

Severity: Warning

Message: pg_query(): Query failed: ERROR: OFFSET must not be negative

Filename: postgre/postgre_driver.php

Line Number: 242

Backtrace:

File: /var/www/html/application/models/Contracts.php
Line: 97
Function: query

File: /var/www/html/application/controllers/Contract.php
Line: 42
Function: getContractDetail

File: /var/www/html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number:

ERROR: OFFSET must not be negative

SELECT txshash,block_height,sender_id,amount FROM transactions WHERE contract_id='ct_2EUq4ZyR3ZUzRjHnv7r3sFgcxoMGVNmua5DevpMmvibzjtvyst' order by tid desc limit 100 offset -100

Filename: models/Contracts.php

Line Number: 97