Fatal error: Uncaught exception 'mysqli_sql_exception' with message 'Duplicate entry '0' for key 'PRIMARY'' in /home2/nmcl/www/classes/db/DBMysqli.class.php:168
Stack trace:
#0 /home2/nmcl/www/classes/db/DBMysqli.class.php(168): mysqli_query()
#1 /home2/nmcl/www/classes/db/DB.class.php(1273): DBMysqli->__query(Object(mysqli), 'INSERT INTO `x...')
#2 /home2/nmcl/www/classes/db/DBMysql.class.php(578): DB->_query('INSERT INTO `x...', Object(mysqli))
#3 /home2/nmcl/www/classes/db/DBMysqli.class.php(348): DBMysql->_executeInsertAct('INSERT INTO `x...')
#4 /home2/nmcl/www/classes/db/DB.class.php(662): DBMysqli->_executeInsertAct(Object(Query))
#5 /home2/nmcl/www/classes/db/DB.class.php(589): DB->_executeQuery(Object(Query))
#6 /home2/nmcl/www/config/func.inc.php(221): DB->executeQuery('/home2/nmcl/www...', NULL, 'counter.insertT...', NULL)
#7 /home2/nmcl/www/modules/counter/counter.controller.php(187): executeQuery()
#8 /home2/nmcl/www/modules/counter/counter.controller.php(51): counterController->insertTodayStatus('counter. in /home2/nmcl/www/classes/db/DBMysqli.class.php on line 168