JoyFreak
Well-known member
Any reason why I got this?
Server error log
Stack trace
- XF\Db\DuplicateKeyException: Job XF:ApprovalQueueProcess: MySQL query error [1062]: Duplicate entry 'post-7916' for key 'PRIMARY'
- src/XF/Db/AbstractStatement.php:217
- Generated by: Unknown account
- Aug 13, 2019 at 3:38 AM
INSERT INTOxf_deletion_log
(content_type
,content_id
,delete_user_id
,delete_username
,delete_reason
,delete_date
) VALUES (?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1452): XF\Db\AbstractAdapter->insert('xf_deletion_log', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1184): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Mvc/Entity/Entity.php(1202): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Entity/Post.php(776): XF\Mvc\Entity\Entity->save()
#8 src/XF/Spam/Cleaner/Post.php(44): XF\Entity\Post->softDelete()
#9 src/XF/Spam/Cleaner.php(121): XF\Spam\Cleaner\Post->cleanUp(Array, NULL)
#10 src/XF/ApprovalQueue/AbstractHandler.php(175): XF\Spam\Cleaner->cleanUpContent(Array)
#11 src/XF/ApprovalQueue/Post.php(42): XF\ApprovalQueue\AbstractHandler->_spamCleanInternal(Object(SV\WhoReplied\XF\Entity\User))
#12 [internal function]: XF\ApprovalQueue\Post->actionSpamClean(Object(SV\UserEssentials\XF\Entity\Post))
#13 src/XF/ApprovalQueue/AbstractHandler.php(120): call_user_func_array(Array, Array)
#14 src/XF/Job/ApprovalQueueProcess.php(67): XF\ApprovalQueue\AbstractHandler->performAction('spam_clean', Object(SV\UserEssentials\XF\Entity\Post))
#15 src/XF.php(478): XF\Job\ApprovalQueueProcess->XF\Job\{closure}()
#16 src/XF/Job/ApprovalQueueProcess.php(68): XF::asVisitor(Object(SV\WhoReplied\XF\Entity\User), Object(Closure))
#17 src/XF/Job/Manager.php(253): XF\Job\ApprovalQueueProcess->run(G)
#18 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#19 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#20 job.php(21): XF\Job\Manager->runByIds(Array, 8)
#21 {main}
Request state
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(40) "https://www.joyfreak.com/approval-queue/"
["_GET"] => array(0) {
}
["_POST"] => array(5) {
["only_ids"] => array(1) {
[0] => string(4) "5563"
}
["_xfRequestUri"] => string(16) "/approval-queue/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "****"
["_xfResponseType"] => string(4) "json"
}