SqlException

"select count(*), date(starttime) from barton.tracker where date(starttime)>=current_date() - interval 6 day and site='Bartonphillips' and isJavaScript & ~(0x201c) and not (isJavaScript & 0x2000) and ip not in() group by date(starttime) order by date(starttime)"
error="You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') group by date(starttime) order by date(starttime)' at line 1", errno="1064"
cwd=/var/www/bartonphillips.com/articles
called from /var/www/vendor/bartonlp/site-class/includes/database-engines/dbMysqli.class.php
on line 117
Back Trace:
dbMysqli::query("select count(*), date(starttime) from barton.tracker where date(starttime)>=current_date() - interval 6 day and site='Bartonphillips' and isJavaScript & ~(0x201c) and not (isJavaScript & 0x2000) and ip not in() group by date(starttime) order by date(starttime)")
in /var/www/vendor/bartonlp/site-class/includes/database-engines/dbAbstract.class.php
on line 36
dbAbstract::query("select count(*), date(starttime) from barton.tracker where date(starttime)>=current_date() - interval 6 day and site='Bartonphillips' and isJavaScript & ~(0x201c) and not (isJavaScript & 0x2000) and ip not in() group by date(starttime) order by date(starttime)")
in /var/www/vendor/bartonlp/site-class/includes/database-engines/dbAbstract.class.php
on line 36
dbAbstract::query("select count(*), date(starttime) from barton.tracker where date(starttime)>=current_date() - interval 6 day and site='Bartonphillips' and isJavaScript & ~(0x201c) and not (isJavaScript & 0x2000) and ip not in() group by date(starttime) order by date(starttime)")
in /var/www/bartonphillips.com/articles/webstats.php
on line 316
function getwebstats()
in /var/www/bartonphillips.com/articles/webstats.php
on line 119