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