Discuz! Database Error

(1062) Duplicate entry '0' for key 'PRIMARY'
INSERT INTO common_credit_rule_log SET `uid`='20860' , `rid`='8' , `fid`='0' , `total`='1' , `cyclenum`='1' , `dateline`='1732570987' , `extcredits1`='0' , `extcredits2`='1' , `extcredits3`='0'

PHP Debug

No.FileLineCode
1forum.php56discuz_application->init()
2source/class/discuz/discuz_application.php71discuz_application->_init_misc()
3source/class/discuz/discuz_application.php663require_once(%s)
4source/include/misc/misc_promotion.php29updatecreditbyaction(%s, %d)
5source/function/function_core.php1240credit->execrule(%s, %d, %s, %d, %d, %d)
6source/class/class_credit.php75discuz_table->insert(Array, %d)
7source/class/discuz/discuz_table.php81discuz_database::insert(%s, Array, %d, false, false)
8source/class/discuz/discuz_database.php60discuz_database::query(%s, %s, %s, false)
9source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, %s, false)
10source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
11source/class/db/db_driver_mysql.php224break()
bbs.pulehui.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?