Solved Plugin incompatibility with Gift add-on from NixFifty

SyTry

Administrator
Staff member
Administrator
Moderator
Licensed
Joined
Jul 8, 2019
Messages
585
Reaction score
360
Hello, reposting from xnfg :
The plugin Upgrade Coupons is incompatible with NixFifty's Gift plugin, it removes the "Gift" button from the page.
Could you fix this up? Thank you!
Regards, SyTry
 
Upgrade Coupons: 2.1.1 Fix
User Upgrade Duration: 2.1.2 Fix
NixFifty's Gift Upgrades: 2.3.2
XF Version: 2.2.7 Patch 1

What it looks like without the coupons plugin enabled:
pjNbdJv.png


With coupons plugin enabled:
QlzYaLP.png


0md0BaB.png


Best regards.
 
Hello, sorry for the delay. This is now fixed in the 2.1.1 Fix 2 version !

Regards, CRUEL-MODZ
 
Solution
Hello,

I just updated this addon and now I get these errors. Note: I do not use User Upgrade Duration or the Gift add-on by NixFifty.

2022-03-27_13-10-43.png


Server error log
LogicException: Entity XenSoluce\UserUpgradeDuration:uud (class: XenSoluce\UserUpgradeDuration\Entity\uud) could not be found src/XF/Mvc/Entity/Manager.php:53
Generated by: Edited Mar 27, 2022 at 12:34 PM
Stack trace
#0 src/XF/Mvc/Entity/Manager.php(69): XF\Mvc\Entity\Manager->getEntityClassName('XenSoluce\\UserU...')
#1 src/XF/Mvc/Entity/Manager.php(225): XF\Mvc\Entity\Manager->getEntityStructure('XenSoluce\\UserU...')
#2 src/XF/Mvc/Controller.php(926): XF\Mvc\Entity\Manager->getFinder('XenSoluce\\UserU...')
#3 src/addons/XenSoluce/UpgradeCoupons/Pub/Controller/UpgradeCoupons.php(60): XF\Mvc\Controller->finder('XenSoluce\\UserU...')
#4 src/XF/Mvc/Dispatcher.php(352): XenSoluce\UpgradeCoupons\Pub\Controller\UpgradeCoupons->actionCoupons(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XenSoluce\\Upgra...', 'Coupons', Object(XF\Mvc\RouteMatch), Object(XenSoluce\UpgradeCoupons\Pub\Controller\UpgradeCoupons), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenSoluce\UpgradeCoupons\Pub\Controller\UpgradeCoupons), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#9 src/XF.php(517): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(152) "/upgrade-coupons/2/coupons?_xfRequestUri=%2Faccount%2Fupgrades&_xfWithData=1&_xfToken=1648398893%2C0d1ae21ac402b1af5660e4dcaaae9216&_xfResponseType=json"
["referrer"] => string(47) "https://www.Edited.com/account/upgrades"
["_GET"] => array(4) {
["_xfRequestUri"] => string(17) "/account/upgrades"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1648398893,0d1ae21ac402b1af5660e4dcaaae9216"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
Delete
 
I just realized that both my account upgrades options do not work now since the [Xen-Soluce] Upgrade Coupons 2.1.1 Fix 2 update was installed. Only 1 of 2 upgrade choices had coupons that could be used with it. I removed the coupon and still get errors. The only way for me to fix was is disable Upgrade Coupons 2.1.1 Fix 2.

Oops! We ran into some problems.
LogicException: Entity XenSoluce\UserUpgradeDuration:uud (class: XenSoluce\UserUpgradeDuration\Entity\uud) could not be found in src/XF/Mvc/Entity/Manager.php at line 53
XF\Mvc\Entity\Manager->getEntityClassName() in src/XF/Mvc/Entity/Manager.php at line 69
XF\Mvc\Entity\Manager->getEntityStructure() in src/XF/Mvc/Entity/Manager.php at line 225
XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Controller.php at line 926
XF\Mvc\Controller->finder() in src/addons/XenSoluce/UpgradeCoupons/Pub/Controller/UpgradeCoupons.php at line 60
XenSoluce\UpgradeCoupons\Pub\Controller\UpgradeCoupons->actionCoupons() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
XF\App->run() in src/XF.php at line 517
XF::runApp() in index.php at line 20
 
I just realized that both my account upgrades options do not work now since the [Xen-Soluce] Upgrade Coupons 2.1.1 Fix 2 update was installed. Only 1 of 2 upgrade choices had coupons that could be used with it. I removed the coupon and still get errors. The only way for me to fix was is disable Upgrade Coupons 2.1.1 Fix 2.
Hey, here is a fix :

Regards, SyTry
 
Top Bottom