select count(*) from bt_data where display=1 and stars @> ARRAY['D-Cat's'] ERROR: syntax error at or near "s" LINE 1: ... from bt_data where display=1 and stars @> ARRAY['D-Cat's'] ^
Fatal error: Uncaught TypeError: pg_fetch_object(): Argument #1 ($result) must be of type PgSql\Result, false given in /www/btba_www/class/cls_postgresql.php:148 Stack trace: #0 /www/btba_www/class/cls_postgresql.php(148): pg_fetch_object() #1 /www/btba_www/class/cls_postgresql.php(113): cls_postgresql->selectCount() #2 /www/btba_www/controller/clr_filter.php(173): cls_postgresql->select() #3 /www/btba_www/index.php(20): clr_filter->index() #4 {main} thrown in /www/btba_www/class/cls_postgresql.php on line 148