Bug There is an issue with adding a secondary group

Status
Not open for further replies.

FinHeaven

Customer
My server error log is getting filled with these errors after each donation. How do I fix that?

Thanks,
Henrik from FinHeaven


Server error log
  • TypeError: Argument 1 passed to XF\Service\User\TempChange::applyGroupChange() must be an instance of XF\Entity\User, null given, called in xxxxxxxxxxxxxxxxxxxxx/forums/src/addons/DBTech/Donate/Entity/Donation.php on line 218
  • src/XF/Service/User/TempChange.php:48
  • Generated by: Unknown account
  • Aug 29, 2019 at 9:11 PM
#0 src/addons/DBTech/Donate/Entity/Donation.php(218): XF\Service\User\TempChange->applyGroupChange(NULL, 'dbtechDonate-44...', Array, 'dbtechDonate-2', 1598729210)
#1 src/addons/DBTech/Donate/Entity/Donation.php(290): DBTech\Donate\Entity\Donation->applyUserGroupChange()
#2 src/XF/Mvc/Entity/Entity.php(1208): DBTech\Donate\Entity\Donation->_postSave()
#3 src/addons/DBTech/Donate/Purchasable/Donation.php(251): XF\Mvc\Entity\Entity->save()
#4 src/XF/Payment/AbstractProvider.php(164): DBTech\Donate\Purchasable\Donation->completePurchase(Object(XF\Payment\CallbackState))
#5 payment_callback.php(63): XF\Payment\AbstractProvider->completeTransaction(Object(XF\Payment\CallbackState))
#6 {main}

array(4) {
["url"] => string(40) "/payment_callback.php?_xfProvider=paypal"
["referrer"] => bool(false)
["_GET"] => array(1) {
["_xfProvider"] => string(6) "paypal"
}
["_POST"] => array(34) {
["mc_gross"] => string(5) "10.00"
["protection_eligibility"] => string(10) "Ineligible"
["payer_id"] => string(13) "KV8P6H7YST73Q"
["payment_date"] => string(25) "12:29:04 Aug 29, 2019 PDT"
["payment_status"] => string(9) "Completed"
["charset"] => string(12) "windows-1252"
["first_name"] => string(5) "james"
["mc_fee"] => string(4) "0.59"
["notify_version"] => string(3) "3.9"
["custom"] => string(32) "eXxEcnsmBeW9AhrTCqM4Q0Tt-LfUHAF1"
["payer_status"] => string(10) "unverified"
["business"] => string(20) "henrik@finheaven.com"
["quantity"] => string(1) "1"
["verify_sign"] => string(56) "A5lsZi9BL0q017w1jm4yeNBmmpmTA3lqfQkEpZ9C8jXKYgXhrnEvg2g-"
["payer_email"] => string(18) "xxxxxxxxxxxxx@xxxxxxx.com"
["txn_id"] => string(17) "94C33045YY771412V"
["payment_type"] => string(7) "instant"
["last_name"] => string(5) "walsh"
["receiver_email"] => string(22) "henrik@webtractive.com"
["payment_fee"] => string(4) "0.59"
["shipping_discount"] => string(4) "0.00"
["receiver_id"] => string(13) "AL2F3Q6L4E9MC"
["insurance_amount"] => string(4) "0.00"
["txn_type"] => string(10) "web_accept"
["item_name"] => string(36) "Donation to New Season, New Forum ()"
["discount"] => string(4) "0.00"
["mc_currency"] => string(3) "USD"
["item_number"] => string(0) ""
["residence_country"] => string(2) "US"
["receipt_id"] => string(19) "1756-2141-7484-8425"
["shipping_method"] => string(7) "Default"
["transaction_subject"] => string(0) ""
["payment_gross"] => string(5) "10.00"
["ipn_track_id"] => string(13) "7f6e4a92d423e"
}
}
 
This could potentially be that you’ve saved the temporary user group change in the drive, then deleted that user group.

Could you please double check the drive’s temporary user group assignment configuration?
 
Hello @FinHeaven,

We hope your ticket regarding DragonByte Donate has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Hello @FinHeaven,

As we have not heard back from you, your ticket regarding DragonByte Donate has now been closed.

If your ticket has not been resolved, please feel free to start a new support ticket and link back to this ticket.

If you have time, please leave a review on XenForo.com's Resource Manager.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte Donate

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,538
Customer rating
5.00 star(s) 1 ratings
Back
Top