Discuz! Database Error

(1213) Deadlock found when trying to get lock; try restarting transaction
DELETE FROM common_session WHERE sid='' OR lastactivity<1526851071 OR (uid='0' AND ip1='23' AND ip2='20' AND ip3='7' AND ip4='34' AND lastactivity>1526851911)

PHP Debug

No.FileLineCode
1forum.php71require(%s)
2source/module/forum/forum_viewthread.php992include(%s)
3data/template/1_diy_forum_viewthread.tpl.php1247include(%s)
4data/template/1_1_common_footer.tpl.php62updatesession()
5source/function/function_core.php32discuz_session::updatesession()
6source/class/discuz/discuz_session.php220discuz_session->update()
7source/class/discuz/discuz_session.php97discuz_session->delete()
8source/class/discuz/discuz_session.php89table_common_session->delete_by_session(Array, %d, %d)
9source/class/table/table_common_session.php76discuz_database::delete(%s, %s)
10source/class/discuz/discuz_database.php48discuz_database::query(%s, %s)
11source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, true)
12source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
13source/class/db/db_driver_mysql.php224break()
bbs.tnbz.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?