select s.*,u.username,u.fullname,u.avatar,p.uid as wall_uid from jcow_streams as s left join jcow_accounts as u on u.id=s.uid left join jcow_pages as p on p.id=s.wall_id where (s.wall_id in() ) and s.stuff_id=0 and (p.type='group' or (s.uid=p.uid and (p.type='u' or p.type='page') and (s.type=0 or s.uid in() ) ) ) and s.hide!=1 order by s.id desc limit 11 offset 0
Fatal error: Uncaught Error: Call to undefined function pg_last_error() in /home2/njpbusiness/public_html/includes/libs/db.inc.php:199 Stack trace: #0 /home2/njpbusiness/public_html/includes/libs/ss.inc.php(2653): sql_query('select s.*,u.us...') #1 /home2/njpbusiness/public_html/includes/libs/feed.module.php(449): feed_activity_get(0, 10, 0, 0, 1, 'following') #2 /home2/njpbusiness/public_html/includes/libs/feed.module.php(164): show_feed('following') #3 /home2/njpbusiness/public_html/index.php(49): feed->following(NULL, NULL) #4 {main} thrown in /home2/njpbusiness/public_html/includes/libs/db.inc.php on line 199