SqlException

"insert into barton.bots2 (ip, agent, date, site, which, count, lasttime) values('35.175.107.77', 'CCBot/2.0 (https://commoncrawl.org/faq/)', current_date(), 'Tysonweb', 2, 1, now()) on duplicate key update which=which|2 count=count+1, lasttime=now()"
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 'count=count+1, lasttime=now()' at line 1", errno="1064"
cwd=/var/www/tysonweb
called from /var/www/vendor/bartonlp/site-class/includes/database-engines/dbMysqli.class.php
on line 117
Back Trace:
dbMysqli::query("insert into barton.bots2 (ip, agent, date, site, which, count, lasttime) values('35.175.107.77', 'CCBot/2.0 (https://commoncrawl.org/faq/)', current_date(), 'Tysonweb', 2, 1, now()) on duplicate key update which=which|2 count=count+1, lasttime=now()")
in /var/www/vendor/bartonlp/site-class/includes/database-engines/dbAbstract.class.php
on line 36
dbAbstract::query("insert into barton.bots2 (ip, agent, date, site, which, count, lasttime) values('35.175.107.77', 'CCBot/2.0 (https://commoncrawl.org/faq/)', current_date(), 'Tysonweb', 2, 1, now()) on duplicate key update which=which|2 count=count+1, lasttime=now()")
in /var/www/vendor/bartonlp/site-class/includes/database-engines/dbAbstract.class.php
on line 36
dbAbstract::query("insert into barton.bots2 (ip, agent, date, site, which, count, lasttime) values('35.175.107.77', 'CCBot/2.0 (https://commoncrawl.org/faq/)', current_date(), 'Tysonweb', 2, 1, now()) on duplicate key update which=which|2 count=count+1, lasttime=now()")
in /var/www/vendor/bartonlp/site-class/includes/SiteClass.class.php
on line 710
SiteClass::trackbots()
in /var/www/vendor/bartonlp/site-class/includes/SiteClass.class.php
on line 221
SiteClass::__construct()
in /var/www/tysonweb/Tryon-Palace.php
on line 5