Server error log
XF\Db\DeadlockException: MySQL query error [1213]: Deadlock found when trying to get lock; try restarting transaction src/XF/Db/AbstractStatement.php:230
Generated by: User2 Dec 12, 2024 at 10:48 PM
Stack trace
INSERT INTO `xf_content_activity_log` (`log_date`, `content_type`, `content_id`, `content_date`, `content_container_id`, `reply_count`) VALUES (?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE reply_count = reply_count + VALUES(reply_count)
------------
Request state
array(4) {
["url"] => string(26) "/threads/1234/add-reply"
["referrer"] => string(35) "https://xf23.com/threads/1234/"
["_GET"] => array(1) {
["/threads/1234/add-reply"] => string(0) ""
}
["_POST"] => array(11) {
["_xfToken"] => string(8) "********"
["message_html"] => string(26) "<p>post 101</p>"
["attachment_hash"] => string(32) "55a53ce51f90bd956786f6fa19a5fe56"
["attachment_hash_combined"] => string(89) "{"type":"post","context":{"thread_id":1234},"hash":"55a53ce51f90bd956786f6fa19a5fe56"}"
["last_date"] => string(10) "1734014867"
["last_known_date"] => string(10) "1734014867"
["parent_id"] => string(8) "28696855"
["load_extra"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfRequestUri"] => string(17) "/threads/1234/"
}
}
Server error log
XF\Db\DeadlockException: MySQL query error [1213]: Deadlock found when trying to get lock; try restarting transaction src/XF/Db/AbstractStatement.php:230
Generated by: User1 Dec 12, 2024 at 12:05 AM
Stack trace
INSERT INTO `xf_content_activity_log` (`log_date`, `content_type`, `content_id`, `content_date`, `content_container_id`, `reply_count`) VALUES (?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE reply_count = reply_count + VALUES(reply_count)
------------
Request state
array(4) {
["url"] => string(26) "/threads/5678/add-reply"
["referrer"] => string(35) "https://xf23.com/threads/5678/"
["_GET"] => array(1) {
["/threads/5678/add-reply"] => string(0) ""
}
["_POST"] => array(11) {
["_xfToken"] => string(8) "********"
["message_html"] => string(27) "<p>post 102</p>"
["attachment_hash"] => string(32) "8b13e71953ebf58455b2ace99c034d01"
["attachment_hash_combined"] => string(89) "{"type":"post","context":{"thread_id":5678},"hash":"8b13e71953ebf58455b2ace99c034d01"}"
["last_date"] => string(10) "1733932230"
["last_known_date"] => string(10) "1733932230"
["parent_id"] => string(8) "28685065"
["load_extra"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfRequestUri"] => string(17) "/threads/5678/"
}
}