So my MOTM has been mostly running ok for a few months. This morning in mode 2 I this error. The member was not promoted to a special group though the media did show up as awarded in XFMG. Also the MOTM thread wasn't updated.
@MtoR @Fredxd
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '40' for key 'PRIMARY' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, Today at 1:01 AM
Stack Trace
#0 /var/www/canadiancorvetteforums.com/htdocs/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /var/www/canadiancorvetteforums.com/htdocs/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /var/www/canadiancorvetteforums.com/htdocs/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /var/www/canadiancorvetteforums.com/htdocs/library/XenForo/Model/UserUpgrade.php(532): Zend_Db_Adapter_Abstract->insert('xf_user_upgrade...', Array)
#4 /var/www/canadiancorvetteforums.com/htdocs/library/XFA/XFMGMediaOfTheMonth/Model/Motm.php(1172): XenForo_Model_UserUpgrade->upgradeUser(2825, Array, true)
#5 /var/www/canadiancorvetteforums.com/htdocs/library/XFA/XFMGMediaOfTheMonth/CronEntry/XFMGMediaOfTheMonth.php(130): XFA_XFMGMediaOfTheMonth_Model_Motm->findAndAwardWinnerMode2(Array)
#6 /var/www/canadiancorvetteforums.com/htdocs/library/XFA/XFMGMediaOfTheMonth/CronEntry/XFMGMediaOfTheMonth.php(21): XFA_XFMGMediaOfTheMonth_CronEntry_XFMGMediaOfTheMonth::cronMode2()
#7 /var/www/canadiancorvetteforums.com/htdocs/library/XenForo/Model/Cron.php(356): XFA_XFMGMediaOfTheMonth_CronEntry_XFMGMediaOfTheMonth::cron(Array)
#8 /var/www/canadiancorvetteforums.com/htdocs/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#9 /var/www/canadiancorvetteforums.com/htdocs/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 7.9999988079071, '')
#10 /var/www/canadiancorvetteforums.com/htdocs/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999988079071, '', false)
#11 /var/www/canadiancorvetteforums.com/htdocs/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#12 /var/www/canadiancorvetteforums.com/htdocs/deferred.php(23): XenForo_Model_Deferred->run(false)
#13 {main}
Request State
array(3) {
["url"] => string(47) "https://canadiancorvetteforums.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(91) "/threads/accident-arctic-white-corvette-z06-crash-lands-on-west-virginia-front-porch.17255/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
@MtoR @Fredxd
Last edited: