Expiring User Upgrades

Expiring User Upgrades [Paid] 2.5.2

No permission to buy ($25.00)
It is actually the phrase exup_upgrade_is_recurring having bad text. So you can edit that easily
 
1580824206388.webp

Is there a way to stop this email from being sent? Also, it appears there's a bug (will automatically renew in 0 days) :)
 
Check the "Expiration Notification (Days)" on the user upgrade. It is probably a value of 1, and due to timing rounds down to 0 days on display of the email
 
Check the "Expiration Notification (Days)" on the user upgrade. It is probably a value of 1, and due to timing rounds down to 0 days on display of the email
Great, thanks. Is there a way to turn off that particular email?
 
Hi there... we get a lot of errors since last update

Code:
Stack trace
#0 src/addons/SV/ExpiringUserUpgrades/XF/Entity/UserOption.php(30): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/vhosts...', 30, Array)
#1 src/XF/Mvc/Entity/Entity.php(89): SV\ExpiringUserUpgrades\XF\Entity\UserOption->_setupDefaults()
#2 src/XF/Mvc/Entity/Manager.php(741): XF\Mvc\Entity\Entity->__construct(Object(XF\Mvc\Entity\Manager), Object(XF\Mvc\Entity\Structure), Array, Array)
#3 src/XF/Mvc/Entity/Manager.php(106): XF\Mvc\Entity\Manager->instantiateEntity('XF:UserOption')
#4 src/XF/Mvc/Entity/Manager.php(592): XF\Mvc\Entity\Manager->create('XF:UserOption')
#5 src/XF/Mvc/Entity/Entity.php(407): XF\Mvc\Entity\Manager->hydrateDefaultFromRelation(Object(SV\ConversationEssentials\XF\Entity\User), Array)
#6 src/XF/Repository/User.php(173): XF\Mvc\Entity\Entity->getRelationOrDefault('Option', true)
#7 src/XF/Service/User/Registration.php(29): XF\Repository\User->setupBaseUser()
#8 src/XF/Service/AbstractService.php(15): XF\Service\User\Registration->setup()
#9 src/XF/Container.php(270): XF\Service\AbstractService->__construct(Object(XF\Pub\App))
#10 src/XF/App.php(1576): XF\Container->createObject('SV\\NewRegistrat...', Array)
#11 src/XF/Container.php(228): XF\App->XF\{closure}('SV\\NewRegistrat...', Array, Object(XF\Container))
#12 src/XF/App.php(2782): XF\Container->create('service', 'XF:User\\Registr...', Array)
#13 [internal function]: XF\App->service('XF:User\\Registr...')
#14 src/XF/Mvc/Controller.php(738): call_user_func_array(Array, Array)
#15 src/XF/Pub/Controller/Register.php(447): XF\Mvc\Controller->service('XF:User\\Registr...')
#16 src/XF/Pub/Controller/Register.php(411): XF\Pub\Controller\Register->setupRegistration(Array)
#17 src/addons/SV/NewRegistrationEmail/XF/Pub/Controller/Register.php(19): XF\Pub\Controller\Register->actionRegister()
#18 src/XF/Mvc/Dispatcher.php(350): SV\NewRegistrationEmail\XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(xenMade\SEO\XF\Pub\Controller\Register), NULL)
#20 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(xenMade\SEO\XF\Pub\Controller\Register), NULL)
#21 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#23 src/XF.php(391): XF\App->run()
#24 index.php(20): XF::runApp('XF\\Pub\\App')
#25 {main}


Request state
array(4) {
  ["url"] => string(18) "/register/register"
  ["referrer"] => string(29) "https://www.xy.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(17) {
    ["username"] => string(0) ""
    ["01aaf2ae2d362e02bf9d65fd988170ae6a4dd39"] => string(7) "xy1234"
    ["590498747f95b01d4819d3f640d9be93500496e"] => string(15) "xy@gmx.de"
    ["email"] => string(0) ""
    ["b8d03da121a4732e1b16b7920446207960b47f57"] => string(8) "********"
    ["dob_month"] => string(1) "6"
    ["dob_day"] => string(2) "12"
    ["dob_year"] => string(4) "1970"
    ["custom_fields"] => array(1) {
      ["profil_ichbin"] => string(15) "ichbin_xy"
    }
    ["g-recaptcha-response"] => string(398) "03AGdBq247Fub1ebD0673Ydclpv7MRnL7vqi_m2CmR6cAPDaf5XA9JMtGtA1oD6P16SHg9S4iZqkb7JKkBSSxrNt5gZPEsgFBMpuQVTNCYfWtFk-i2iia5PZG94okIA4z01oDNz76QKMFQGyiR4ST02UHXqZIio_ZZhzrQu3erm0H41rGAcdwvDfz_hSlYeEkykNr_b9Ui3kcRbLefh24KbuD4dWFKzAg-EEoXUfT3inCCPUjQOUCLbe6WSGkxITslcC5OEwCt4fr3bX5cRu8VNk803W2GVxVUCN_pyn5Edm0SPbwC7cEKNnn-tFxpSSSI10-14N9ov4rPeqc2QIFb9-XGdDMw3lGhPXEPzbIIbJ54yw6uX2xCQdAvU2V2QDDZrYK5IucepMIn"
    ["accept"] => string(1) "1"
    ["reg_key"] => string(16) "Y886oZg40pnecsxQ"
    ["2694727a4172bc8488aa1175352b9a6457c57821"] => string(16) "Europe/Amsterdam"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/register/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Hi there... we get a lot of errors since last update

Code:
Stack trace
#0 src/addons/SV/ExpiringUserUpgrades/XF/Entity/UserOption.php(30): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/vhosts...', 30, Array)
#1 src/XF/Mvc/Entity/Entity.php(89): SV\ExpiringUserUpgrades\XF\Entity\UserOption->_setupDefaults()
#2 src/XF/Mvc/Entity/Manager.php(741): XF\Mvc\Entity\Entity->__construct(Object(XF\Mvc\Entity\Manager), Object(XF\Mvc\Entity\Structure), Array, Array)
#3 src/XF/Mvc/Entity/Manager.php(106): XF\Mvc\Entity\Manager->instantiateEntity('XF:UserOption')
#4 src/XF/Mvc/Entity/Manager.php(592): XF\Mvc\Entity\Manager->create('XF:UserOption')
#5 src/XF/Mvc/Entity/Entity.php(407): XF\Mvc\Entity\Manager->hydrateDefaultFromRelation(Object(SV\ConversationEssentials\XF\Entity\User), Array)
#6 src/XF/Repository/User.php(173): XF\Mvc\Entity\Entity->getRelationOrDefault('Option', true)
#7 src/XF/Service/User/Registration.php(29): XF\Repository\User->setupBaseUser()
#8 src/XF/Service/AbstractService.php(15): XF\Service\User\Registration->setup()
#9 src/XF/Container.php(270): XF\Service\AbstractService->__construct(Object(XF\Pub\App))
#10 src/XF/App.php(1576): XF\Container->createObject('SV\\NewRegistrat...', Array)
#11 src/XF/Container.php(228): XF\App->XF\{closure}('SV\\NewRegistrat...', Array, Object(XF\Container))
#12 src/XF/App.php(2782): XF\Container->create('service', 'XF:User\\Registr...', Array)
#13 [internal function]: XF\App->service('XF:User\\Registr...')
#14 src/XF/Mvc/Controller.php(738): call_user_func_array(Array, Array)
#15 src/XF/Pub/Controller/Register.php(447): XF\Mvc\Controller->service('XF:User\\Registr...')
#16 src/XF/Pub/Controller/Register.php(411): XF\Pub\Controller\Register->setupRegistration(Array)
#17 src/addons/SV/NewRegistrationEmail/XF/Pub/Controller/Register.php(19): XF\Pub\Controller\Register->actionRegister()
#18 src/XF/Mvc/Dispatcher.php(350): SV\NewRegistrationEmail\XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(xenMade\SEO\XF\Pub\Controller\Register), NULL)
#20 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(xenMade\SEO\XF\Pub\Controller\Register), NULL)
#21 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#23 src/XF.php(391): XF\App->run()
#24 index.php(20): XF::runApp('XF\\Pub\\App')
#25 {main}


Request state
array(4) {
  ["url"] => string(18) "/register/register"
  ["referrer"] => string(29) "https://www.xy.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(17) {
    ["username"] => string(0) ""
    ["01aaf2ae2d362e02bf9d65fd988170ae6a4dd39"] => string(7) "xy1234"
    ["590498747f95b01d4819d3f640d9be93500496e"] => string(15) "xy@gmx.de"
    ["email"] => string(0) ""
    ["b8d03da121a4732e1b16b7920446207960b47f57"] => string(8) "********"
    ["dob_month"] => string(1) "6"
    ["dob_day"] => string(2) "12"
    ["dob_year"] => string(4) "1970"
    ["custom_fields"] => array(1) {
      ["profil_ichbin"] => string(15) "ichbin_xy"
    }
    ["g-recaptcha-response"] => string(398) "03AGdBq247Fub1ebD0673Ydclpv7MRnL7vqi_m2CmR6cAPDaf5XA9JMtGtA1oD6P16SHg9S4iZqkb7JKkBSSxrNt5gZPEsgFBMpuQVTNCYfWtFk-i2iia5PZG94okIA4z01oDNz76QKMFQGyiR4ST02UHXqZIio_ZZhzrQu3erm0H41rGAcdwvDfz_hSlYeEkykNr_b9Ui3kcRbLefh24KbuD4dWFKzAg-EEoXUfT3inCCPUjQOUCLbe6WSGkxITslcC5OEwCt4fr3bX5cRu8VNk803W2GVxVUCN_pyn5Edm0SPbwC7cEKNnn-tFxpSSSI10-14N9ov4rPeqc2QIFb9-XGdDMw3lGhPXEPzbIIbJ54yw6uX2xCQdAvU2V2QDDZrYK5IucepMIn"
    ["accept"] => string(1) "1"
    ["reg_key"] => string(16) "Y886oZg40pnecsxQ"
    ["2694727a4172bc8488aa1175352b9a6457c57821"] => string(16) "Europe/Amsterdam"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/register/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Code:
Server error log
ErrorException: [E_NOTICE] Undefined index: sv_exup_email_on_upgrade_reversal src/addons/SV/ExpiringUserUpgrades/XF/Entity/UserOption.php:30

We still get this error...

No help?
 
Code:
Server error log
ErrorException: [E_NOTICE] Undefined index: sv_exup_email_on_upgrade_reversal src/addons/SV/ExpiringUserUpgrades/XF/Entity/UserOption.php:30

We still get this error...

No help?
I missed the reply, and without including the actual error message and the stack trace makes it very hard to diagnose.

A quick fix for that issue is to click 'save' on the "User registration" options page.
 
Is it possible for the user to see their expired upgrades? Some forget when they upgraded and asked if I can provide them that info after it already expired. Would be nice if there could be a list for them to view on their acct upgrades page.
 
Hey @Xon - is there any chance to suppress the reminder emails in the case where a user is not eligible for an extension? The price changed on one of our upgrades with thousands of users and even though I added some more explicit wording to the upgrade page, I'm still getting flooded with people asking 'why can't I renew?'

On that note, is this a technical limitation, or a policy limitation that disallows extension due to a price change?
 
Will a user with a recurring upgrade get a reminder before their CC is charged for the renewal with this add-on?
 
Will a user with a recurring upgrade get a reminder before their CC is charged for the renewal with this add-on?
Yes, how soon the reminder is sent before the upgrade expires can be configured per user upgrade.
 
Top Bottom