Bug Got error when steal features enabled

mzulfahmy

Customer
Hello, here is the error i get after we get our forum upgraded to latest version.

IDK what to troubleshoot maybe you guy can give us some highlight on the error

  • LogicException: Attempted to update currency amount for a currency integrated with DragonByte Credits.
  • src/addons/DBTech/Shop/Repository/Currency.php:286
  • Generated by:
  • 9 January 2022 at 4:09 AM

Stack trace​

#0 src/addons/DBTech/Shop/Pub/Controller/Steal.php(226): DBTech\Shop\Repository\Currency->removeCurrencyAmount(Object(DBTech\Shop\Entity\Currency), 'stealfail', 31.18, Object(OzzModz\EmailWhitelist\XF\Entity\User))
#1 src/XF/Mvc/Dispatcher.php(352): DBTech\Shop\Pub\Controller\Steal->actionIndex(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Shop:Ste...', 'Index', Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Pub\Controller\Steal), NULL)
#3 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Pub\Controller\Steal), NULL)
#4 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#6 src/XF.php(517): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
array(4) {
["url"] => string(19) "/dbtech-shop/steal/"
["referrer"] => string(41) "https:///example.com/dbtech-shop/steal/"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["_xfToken"] => string(8) "********"
["username"] => string(12) "redacted"
["currency_id"] => string(1) "2"
["_xfRequestUri"] => string(19) "/dbtech-shop/steal/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,673
Customer rating
5.00 star(s) 3 ratings
Top