Gift Upgrades Fixed SQL error

Affected version
2.3.2

ReneKunert

Member
I am not sure what is causing this, because, well, I am not a developer haha! However, I have been running into this error every time I try to gift someone an upgrade.

Screen Shot 2021-11-05 at 09.47.19.png
 

Nix

Administrator
Staff member
Do you have any other add-ons that touch the user upgrade system?
 

Nix

Administrator
Staff member
This should be resolved in 2.4.0. I wasn't able to reproduce the specific error but I have improved this codepath in general.
 

ReneKunert

Member
I am so sorry I didn't reply. For some reason, my notifications weren't turned on for the watch. (id10t error)...

It seems that this did fix the issue, however. I am now able to gift without errors, so far. Thank you!
 

ReneKunert

Member
Well, maybe I spoke too soon. I am still getting a few errors.

I do have a couple of add-ons that use the upgrade system, along with the "user promotion" functions.

[AP] Style Suite 1.9.5​

[OzzModz] Badges 2.2.1 Patch Level 3​



Screenshot 2022-01-22 at 16.32.46.png

Code:
Stack trace

#0 src/XF/Mvc/Entity/Entity.php(118): XF\Mvc\Entity\Entity->get('PayUser')
#1 internal_data/code_cache/templates/l1/s0/admin/nixfifty_giftupgrades_giftedby_label.php(22): XF\Mvc\Entity\Entity->offsetGet('PayUser')
#2 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#3 src/XF/Template/Templater.php(1680): XF\Template\Templater->renderTemplate('nixfifty_giftup...', Array)
#4 internal_data/code_cache/templates/l1/s0/admin/user_upgrade_list.php(40): XF\Template\Templater->includeTemplate('admin:nixfifty_...', Array)
#5 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#6 internal_data/code_cache/templates/l1/s0/admin/user_upgrade_list.php(243): XF\Template\Templater->callMacro('user_upgrade_li...', 'upgrade_list', Array, Array)
#7 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('user_upgrade_li...', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:UserUpgrade\\...', 'admin:user_upgr...', Array)
#11 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#15 src/XF.php(517): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}

Code:
[HEADING=2]Request state[/HEADING]
       
           array(4) {
  ["url"] => string(25) "/admin.php?user-upgrades/"
  ["referrer"] => string(77) "https://www.letsdosomeart.com/admin.php?user-upgrades/lifetime-premium.3/edit"
  ["_GET"] => array(1) {
    ["user-upgrades/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Top