• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Server error

tommydamic68

Well-known member
#1
I receive this sever error, it appears it was generated during or trying to use the conversion feature by a member. Any thoughts?

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '2-68' for key 'PRIMARY' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Ickushouse, Yesterday at 10:08 PM
Stack Trace
#0 /home/admin/public_html/community/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/admin/public_html/community/library/XenForo/Model/Permission.php(1416): Zend_Db_Adapter_Abstract->insert('xf_permission_c...', Array)
#4 /home/admin/public_html/community/library/XenForo/Model/Permission.php(1377): XenForo_Model_Permission->findOrCreatePermissionCombination(0, Array, true)
#5 /home/admin/public_html/community/library/XenForo/Model/Permission.php(1246): XenForo_Model_Permission->findOrCreatePermissionCombinationFromUser(Array, true, true)
#6 /home/admin/public_html/community/library/XenForo/DataWriter/User.php(1111): XenForo_Model_Permission->updateUserPermissionCombination(Array, true, true)
#7 /home/admin/public_html/community/library/XenForo/DataWriter/User.php(998): XenForo_DataWriter_User->rebuildPermissionCombinationId()
#8 /home/admin/public_html/community/library/Waindigo/Trophies/Extend/XenForo/DataWriter/User.php(36): XenForo_DataWriter_User->_postSave()
#9 /home/admin/public_html/community/library/Ragtek/NUNS/DataWriter/User.php(26): Waindigo_Trophies_Extend_XenForo_DataWriter_User->_postSave()
#10 /home/admin/public_html/community/library/*******/Credits/DataWriter/User.php(65): Ragtek_NUNS_DataWriter_User->_postSave()
#11 /home/admin/public_html/community/library/bdTagMe/XenForo/DataWriter/User.php(84): *******_Credits_DataWriter_User->_postSave()
#12 /home/admin/public_html/community/library/XenForo/DataWriter.php(1409): bdTagMe_XenForo_DataWriter_User->_postSave()
#13 /home/admin/public_html/community/library/*******/Credits/DataWriter/User.php(23): XenForo_DataWriter->save()
#14 /home/admin/public_html/community/library/XenForo/Model/User.php(1671): *******_Credits_DataWriter_User->save()
#15 /home/admin/public_html/community/library/XenForo/Model/User.php(1530): XenForo_Model_User->_applyUserGroupChanges(8124, Array, Array)
#16 /home/admin/public_html/community/library/XenForo/Model/UserGroupPromotion.php(317): XenForo_Model_User->addUserGroupChange(8124, 'ugPromotion2', '17')
#17 /home/admin/public_html/community/library/XenForo/Model/UserGroupPromotion.php(289): XenForo_Model_UserGroupPromotion->promoteUser(Array, 8124)
#18 /home/admin/public_html/community/library/XenForo/ControllerPublic/Abstract.php(77): XenForo_Model_UserGroupPromotion->updatePromotionsForUser(Array)
#19 /home/admin/public_html/community/library/XenForo/ControllerPublic/Abstract.php(16): XenForo_ControllerPublic_Abstract->_executePromotionUpdate()
#20 /home/admin/public_html/community/library/XenForo/Controller.php(308): XenForo_ControllerPublic_Abstract->_preDispatchType('Unread')
#21 /home/admin/public_html/community/library/XenForo/FrontController.php(346): XenForo_Controller->preDispatch('Unread', 'XenForo_Control...')
#22 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#23 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#24 {main}
Request State
array(3) {
  ["url"] => string(73) "http://mysite.com/community/conversations/breeder-in-dfw.26713/unread"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Sheratan

Well-known member
#2
I see 3 addons:

Code:
#8 /home/admin/public_html/community/library/Waindigo/Trophies/Extend/XenForo/DataWriter/User.php(36): XenForo_DataWriter_User->_postSave()
#9 /home/admin/public_html/community/library/Ragtek/NUNS/DataWriter/User.php(26): Waindigo_Trophies_Extend_XenForo_DataWriter_User->_postSave()
#10 /home/admin/public_html/community/library/*******/Credits/DataWriter/User.php(65): Ragtek_NUNS_DataWriter_User->_postSave()
#11 /home/admin/public_html/community/library/bdTagMe/XenForo/DataWriter/User.php(84): *******_Credits_DataWriter_User->_postSave()
#12 /home/admin/public_html/community/library/XenForo/DataWriter.php(1409): bdTagMe_XenForo_DataWriter_User->_postSave()
#13 /home/admin/public_html/community/library/*******/Credits/DataWriter/User.php(23): XenForo_DataWriter->save()
try to disable ragtek addons
 

Mike

XenForo developer
Staff member
#3
This looks like a race condition, not one I've seen before. I believe you should be able to disregard it.