Duplicate Duplicate entry for key 'PRIMARY'

Walter

Well-known member
In the server log I found the following error, obviously from the gallery and someone following another user (on a very busy forum):

Code:
Fehlerinformation
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '45022-60950' for key 'PRIMARY' - library/Zend/Db/Statement/Mysqli.php:214
Generiert durch: Username, Vor 9 Minuten
Stapelverfolgung
#0 /home/forumname/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/forumname/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/forumname/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/forumname/public_html/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xf_user_follow', Array)
#4 /home/forumname/public_html/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /home/forumname/public_html/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /home/forumname/public_html/library/XenForo/Model/User.php(1765): XenForo_DataWriter->save()
#7 /home/forumname/public_html/library/XenGallery/Model/User.php(22): XenForo_Model_User->follow(Array, true, NULL)
#8 /home/forumname/public_html/library/XenForo/ControllerPublic/Member.php(473): XenGallery_Model_User->follow(Array)
#9 /home/forumname/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Member->actionFollow()
#10 /home/forumname/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/forumname/public_html/index.php(13): XenForo_FrontController->run()
#12 {main}
Benötigter Status
array(3) {
  ["url"] => string(135) "http://www.forumname.at/members/membername.60950/follow?_xfToken=45022%2C1416306530%2C8796e8006e69d23af3859f2feff0221f28836d84"
  ["_GET"] => array(1) {
    ["_xfToken"] => string(57) "45022,1416306530,8796e8006e69d23af3859f2feff0221f28836d84"
  }
  ["_POST"] => array(5) {
    ["_xfConfirm"] => string(1) "1"
    ["_xfRequestUri"] => string(17) "/recent-activity/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Back
Top Bottom