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 /home/mark/web/whosaroundtown.com/public_html/includes/libs/db.inc.php:199
Stack trace:
#0 /home/mark/web/whosaroundtown.com/public_html/includes/libs/ss.inc.php(2653): sql_query()
#1 /home/mark/web/whosaroundtown.com/public_html/includes/libs/feed.module.php(449): feed_activity_get()
#2 /home/mark/web/whosaroundtown.com/public_html/includes/libs/feed.module.php(164): show_feed()
#3 /home/mark/web/whosaroundtown.com/public_html/index.php(49): feed->following()
#4 {main}
thrown in /home/mark/web/whosaroundtown.com/public_html/includes/libs/db.inc.php on line 199