去评论
dz插件网

discuzx3.4,myisam,数据库内的forum_hotreply_number表老是报错

镖师
2023/03/14 12:15:12
后台工具---》系统错误内频繁出现此类错误:


(1062) Duplicate entry '18318062' for key 'PRIMARY'
INSERT INTO forum_hotreply_number SET `pid`='18318062' , `tid`='8279589' , `support`='0' , `against`='0' , `total`='0'

PHP:
forum.php#require(%s):0067
source/module/forum/forum_misc.php#discuz_table->discuz_table->insert():1795
source/class/discuz/discuz_table.php#discuz_database::discuz_database::insert():0081
source/class/discuz/discuz_database.php#discuz_database::discuz_database::query():0060
source/class/discuz/discuz_database.php#db_driver_mysqli->db_driver_mysqli->query():0142
source/class/db/db_driver_mysqli.php#db_driver_mysqli->db_driver_mysqli->halt():0148
source/class/db/db_driver_mysqli.php#break():0223
User: uid=277561; IP=182.150.*.*; RIP:106.41.209.86 Request: /forum.php?mod=misc&action=postreview&do=support&tid=8279589&pid=18318062&hash=3eacd55b&ajaxmenu=1&inajax=1&ajaxtarget=ajaxid_0.1356016151146573_menu_content


表结构如下图:




请教高手指点一下,应该怎么解决,另外一个相关的表也有此类错误:forum_hotreply_membe

万分感谢。