Gift Upgrades

Gift Upgrades [Paid] 1.6.1

No permission to buy ($20.00)

NixFifty

Well-known member
Thanks for your reply.
Sorry - what does that mean "it'll stack"?
If a user already has an active upgrade, a gift of the same upgrade would be a waste - or have I missed something?
It’ll extend the previous upgrade as expected.

If you had purchased a user upgrade that lasted a week and I gifted you another instance of it, your upgrade would be extended by another week so in effect “stacking” on top of the other one.
 
I'm unsure which add-on is causing this error for subscriptions only, but disabling UserEss by @Xon and Gift Upgrades and Donation Manage by @ThemeHouse, the error still persists on the account upgrade page, after attempting to pay for a subscription.

Not sure why the donate add-on is being triggered, as it should not have anything to do with account upgrades... but there is a conflict somewhere.

@Xon @NixFifty is this related to one of yours being triggered in the error log? Gift Upgrades interacts with the account upgrades page. Not sure if User Essentials does, from memory.

The transaction processes, returns to the site, upgrades the user, but attempting to view the account upgrades page after paying for a subscription causes this error to be shown to the user on the account upgrade page:

Code:
Server Error

Cannot load class using XFCP. Load the class using the correct loader first.

XenForo_Autoloader->autoload()
spl_autoload_call() in Audentio/DonationManager/Extend/bdPaygate/Processor/PayPal.php at line 3
include() in XenForo/Autoloader.php at line 119
XenForo_Autoloader->autoload()
spl_autoload_call()
is_callable() in bdPaygate/XenForo/Model/UserUpgrade.php at line 29
bdPaygate_XenForo_Model_UserUpgrade->prepareUserUpgrade() in SV/UserEss/XenForo/Model/UserUpgrade.php at line 46
SV_UserEss_XenForo_Model_UserUpgrade->prepareUserUpgrade() in XenForo/Model/UserUpgrade.php at line 172
XenForo_Model_UserUpgrade->prepareUserUpgrades() in XenForo/ControllerPublic/Account.php at line 1792
XenForo_ControllerPublic_Account->actionUpgrades() in NixFifty/GiftUpgrades/XenForo/ControllerPublic/Account.php at line 7
NixFifty_GiftUpgrades_XenForo_ControllerPublic_Account->actionUpgrades() in bdPaygate/XenForo/ControllerPublic/Account.php at line 7
bdPaygate_XenForo_ControllerPublic_Account->actionUpgrades() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /var/www/myptsd/html/c/index.php at line 13
The error log shows:

Code:
Error Info XenForo_Exception: Cannot load class using XFCP. Load the class using the correct loader first. - library/XenForo/Autoloader.php:108
Generated By: anthony, 15 minutes ago
Stack Trace #0 [internal function]: XenForo_Autoloader->autoload('XFCP_Audentio_D...')
#1 /var/www/myptsd/html/c/library/Audentio/DonationManager/Extend/bdPaygate/Processor/PayPal.php(3): spl_autoload_call('XFCP_Audentio_D...')
#2 /var/www/myptsd/html/c/library/XenForo/Autoloader.php(119): include('/var/www/myptsd...')
#3 [internal function]: XenForo_Autoloader->autoload('Audentio_Donati...')
#4 [internal function]: spl_autoload_call('Audentio_Donati...')
#5 /var/www/myptsd/html/c/library/bdPaygate/XenForo/Model/UserUpgrade.php(29): is_callable(Array)
#6 /var/www/myptsd/html/c/library/SV/UserEss/XenForo/Model/UserUpgrade.php(46): bdPaygate_XenForo_Model_UserUpgrade->prepareUserUpgrade(Array)
#7 /var/www/myptsd/html/c/library/XenForo/Model/UserUpgrade.php(172): SV_UserEss_XenForo_Model_UserUpgrade->prepareUserUpgrade(Array)
#8 /var/www/myptsd/html/c/library/XenForo/ControllerPublic/Account.php(1792): XenForo_Model_UserUpgrade->prepareUserUpgrades(Array)
#9 /var/www/myptsd/html/c/library/NixFifty/GiftUpgrades/XenForo/ControllerPublic/Account.php(7): XenForo_ControllerPublic_Account->actionUpgrades()
#10 /var/www/myptsd/html/c/library/bdPaygate/XenForo/ControllerPublic/Account.php(7): NixFifty_GiftUpgrades_XenForo_ControllerPublic_Account->actionUpgrades()
#11 /var/www/myptsd/html/c/library/XenForo/FrontController.php(351): bdPaygate_XenForo_ControllerPublic_Account->actionUpgrades()
#12 /var/www/myptsd/html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#13 /var/www/myptsd/html/c/index.php(13): XenForo_FrontController->run()
#14 {main}Request State array(3) {
  ["url"] => string(41) "https://www.myptsd.com/c/account/upgrades"
  ["_GET"] => array(1) {
    ["/c/account/upgrades"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Any ideas?
 

Brent W

Well-known member
Getting this error after upgrade:

Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'private.private_user_id' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Jenniferdiana, A moment ago
Stack Trace

#0 /home/nginx/domains/christianforums.com/public/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\t\tSELECT med...')
#1 /home/nginx/domains/christianforums.com/public/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\t\tSELECT med...')
#2 /home/nginx/domains/christianforums.com/public/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\t\tSELECT med...')
#3 /home/nginx/domains/christianforums.com/public/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('\r\n\t\t\tSELECT med...', Array, 2)
#4 /home/nginx/domains/christianforums.com/public/library/XenGallery/Model/Media.php(104): XenForo_Model->fetchAllKeyed('\r\n\t\t\tSELECT med...', 'media_id')
#5 /home/nginx/domains/christianforums.com/public/library/XenGallery/Callback.php(67): XenGallery_Model_Media->getMedia(Array, Array)
#6 /home/nginx/domains/christianforums.com/public/library/XenForo/Template/Abstract.php(344): XenGallery_Callback::getMediaForBlock('', Array, Object(XenForo_Template_Public))
#7 /home/nginx/domains/christianforums.com/public/internal_data/templates/S.13,L.1,forum_list.php(2797): XenForo_Template_Abstract->callTemplateCallback('XenGallery_Call...', 'getMediaForBloc...', '', Array)
#8 /home/nginx/domains/christianforums.com/public/library/XenForo/Template/Abstract.php(270): include('/home/nginx/dom...')
#9 /home/nginx/domains/christianforums.com/public/library/XenForo/Template/Abstract.php(201): XenForo_Template_Abstract->_renderInternal('/home/nginx/dom...', Array)
#10 /home/nginx/domains/christianforums.com/public/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#11 /home/nginx/domains/christianforums.com/public/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render()
#12 /home/nginx/domains/christianforums.com/public/library/XenForo/FrontController.php(662): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#13 /home/nginx/domains/christianforums.com/public/library/XenForo/FrontController.php(176): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#14 /home/nginx/domains/christianforums.com/public/index.php(13): XenForo_FrontController->run()
#15 {main}

Request State

array(3) {
  ["url"] => string(39) "https://www.christianforums.com/forums/"
  ["_GET"] => array(1) {
    ["/forums/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 

NixFifty

Well-known member
how to change the text 'pay with stripe' to 'pay with credit card' in the payment processor dropdown option?
Stripe support comes with the Paygates add-on and to my knowledge, it's not possible to change the payment processor name. I could be wrong though, I have not used Paygates in a long time.
 
Top