tommydamic68
Well-known member
I had a member upgrade their account and utilize Paypal and received this error, not sure if its a bug, I have never seen it before though.
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '2' for key 'PRIMARY' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, Today at 4:45 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/UserUpgrade.php(533): Zend_Db_Adapter_Abstract->insert('xf_user_upgrade...', Array)
#4 /home/admin/public_html/community/library/XenForo/UserUpgradeProcessor/PayPal.php(297): XenForo_Model_UserUpgrade->upgradeUser(10753, Array, false)
#5 /home/admin/public_html/community/payment_callback.php(37): XenForo_UserUpgradeProcessor_PayPal->processTransaction()
#6 {main}
Request State
array(3) {
["url"] => string(53) "http://sphynxlair.com/community//payment_callback.php"
["_GET"] => array(0) {
}
["_POST"] => array(33) {
["mc_gross"] => string(5) "25.00"
["protection_eligibility"] => string(10) "Ineligible"
["payer_id"] => string(13) "KM6NFSY2A"
["tax"] => string(4) "0.00"
["payment_date"] => string(25) "13:44:46 Sep 21, 2015 PDT"
["payment_status"] => string(9) "Completed"
["charset"] => string(12) "windows-1252"
["first_name"] => string(10) "Jacqyne"
["mc_fee"] => string(4) "1.03"
["notify_version"] => string(3) "3.8"
["custom"] => string(71) "10753,1,token,10753,14e444cb8"
["payer_status"] => string(8) "verified"
["business"] => string(22) "@yahoo.com"
["quantity"] => string(1) "1"
["verify_sign"] => string(56) "AKzaBp7FOkG.-3hfPY.uHM"
["payer_email"] => string(28) "@aol.com"
["txn_id"] => string(17) "29"
["payment_type"] => string(7) "instant"
["payer_business_name"] => string(27) "OrgC"
["last_name"] => string(7) "Carlson"
["receiver_email"] => string(22) "@yahoo.com"
["payment_fee"] => string(4) "1.03"
["receiver_id"] => string(13) "DA9NP8"
["txn_type"] => string(10) "web_accept"
["item_name"] => string(41) "Account Upgrade: Advertisement (erJa3)"
["mc_currency"] => string(3) "USD"
["item_number"] => string(0) ""
["residence_country"] => string(2) "US"
["handling_amount"] => string(4) "0.00"
["transaction_subject"] => string(71) "10753,1,token44cb8"
["payment_gross"] => string(5) "25.00"
["shipping"] => string(4) "0.00"
["ipn_track_id"] => string(13) "bb5c3"
}
}