- Joined
- Mar 10, 2020
- Messages
- 32
- Reaction score
- 7
- Recently installed [Xen-Soluce] Upgrade Coupons 2.0.2 Fix 3
- No coupons yet defined (installed for future use)
- Error every time there's an upgrade
Code:
Server error log
TypeError: Argument 2 passed to XF\Service\User\Upgrade::__construct() must be an instance of XF\Entity\UserUpgrade, null given, called in /home/{domain}/public_html/src/XF/Container.php on line 270 src/XF/Service/User/Upgrade.php:32
Generated by: Unknown account Jul 13, 2020 at 4:39 AM
Stack trace
#0 src/XF/Container.php(270): XF\Service\User\Upgrade->__construct(Object(XF\Pub\App), NULL, Object(xenMade\TPM\XF\Entity\User))
#1 src/XF/App.php(1576): XF\Container->createObject('XF\\Service\\User...', Array)
#2 src/XF/Container.php(228): XF\App->XF\{closure}('XF\\Service\\User...', Array, Object(XF\Container))
#3 src/XF/App.php(2782): XF\Container->create('service', 'XF:User\\Upgrade', Array)
#4 src/XF/Purchasable/UserUpgrade.php(142): XF\App->service('XF:User\\Upgrade', NULL, Object(xenMade\TPM\XF\Entity\User))
#5 src/addons/XenSoluce/UpgradeCoupons/XF/Purchasable/UserUpgrade.php(92): XF\Purchasable\UserUpgrade->completePurchase(Object(XF\Payment\CallbackState))
#6 src/XF/Payment/AbstractProvider.php(172): XenSoluce\UpgradeCoupons\XF\Purchasable\UserUpgrade->completePurchase(Object(XF\Payment\CallbackState))
#7 payment_callback.php(63): XF\Payment\AbstractProvider->completeTransaction(Object(XF\Payment\CallbackState))
#8 {main}
Request state
array(4) {
["url"] => string(40) "/payment_callback.php?_xfProvider=paypal"
["referrer"] => bool(false)
["_GET"] => array(1) {
["_xfProvider"] => string(6) "paypal"
}
["_POST"] => array(28) {
["transaction_subject"] => string(79) "Account upgrade: LocalU Forum Access + Experts Guide to Local SEO ({member name})"
["payment_date"] => string(25) "04:07:31 Jul 11, 2020 PDT"
["txn_type"] => string(14) "subscr_payment"
["subscr_id"] => string(14) "I-H60K7585F8R8"
["last_name"] => string(5) "Thorn"
["residence_country"] => string(2) "AU"
["item_name"] => string(79) "Account upgrade: LocalU Forum Access + Experts Guide to Local SEO ({member name})"
["payment_gross"] => string(6) "149.00"
["mc_currency"] => string(3) "USD"
["business"] => string(21) "{staff email}
["payment_type"] => string(7) "instant"
["protection_eligibility"] => string(8) "Eligible"
["verify_sign"] => string(56) "AP4N5UUZZ-qWEbS6G8I3PN3ffOnEAcKJ5QKXauwcnSlGnDr.UufzZhX5"
["payer_status"] => string(8) "verified"
["payer_email"] => string(22) "{member email}"