Yes indeed, I just saw it. I guess it is related to this one since it is the only one....but its just a guess
- MySQL statement prepare error [1213]: Deadlock found when trying to get lock; try restarting transaction
- src/XF/Db/AbstractStatement.php:230
SELECT
post_date - post_date % 86400 AS unixDate,
COUNT(*)
FROM xf_post
WHERE post_date BETWEEN ? AND ?
AND message_state = ?
GROUP BY unixDate
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL statement...', 1213, '40001')
#1 src/XF/Db/Mysqli/Statement.php(41): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1213, '40001')
#2 src/XF/Db/Mysqli/Statement.php(56): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(177): XF\Db\AbstractAdapter->query('
SELECT
...', Array)
#5 src/XF/Stats/Post.php(21): XF\Db\AbstractAdapter->fetchPairs('
SELECT
...', Array)
#6 src/XF/Repository/Stats.php(63): XF\Stats\Post->getData(1656979200, 1657065600)
#7 src/XF/Cron/Counters.php(30): XF\Repository\Stats->build(1656979200, 1657065600)
#8 src/XF/Job/Cron.php(37): XF\Cron\Counters::recordDailyStats(Object(XF\Entity\CronEntry))
#9 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#10 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#11 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#12 job.php(43): XF\Job\Manager->runQueue(false, 8)
#13 {main}