Warning: pg_query(): Query failed: ERROR: "800000"またはその近辺で構文エラー LINE 1: ...re maspgdoc.syskbn = 1 and maspgdoc.pno = between 800000 and... ^ in /usr/share/php/aplilib.inc on line 1552

Fatal error: Uncaught TypeError: pg_free_result(): Argument #1 ($result) must be of type PgSql\Result, bool given in /usr/share/php/aplilib.inc:1555 Stack trace: #0 /usr/share/php/aplilib.inc(1555): pg_free_result() #1 /usr/share/php/aplilib.inc(906): htmlPrm->htmlMasPgDocGet() #2 /usr/share/php/aplilib.inc(663): htmlPrm->htmlStrGet() #3 /usr/share/php/aplilib.inc(401): htmlMake->MakeVer01() #4 /var/www/html/e-datas.com/medical/kenshin/normal/080prn.php(25): htmlMake->Make() #5 {main} thrown in /usr/share/php/aplilib.inc on line 1555