Bug Error when processing callback

Status
Not open for further replies.

Liam W

Customer
Two of these errors appeared in my error log after a successful purchase:

Code:
[LIST]
[*]ErrorException: [E_NOTICE] Indirect modification of overloaded property XF\Purchasable\Purchase::$extraData has no effect
[*]src/addons/DBTech/eCommerce/Purchasable/Order.php:188
[*]25 March 2019 at 11:15 PM
[/LIST]
Stack trace
#0 src/addons/DBTech/eCommerce/Purchasable/Order.php(188): XF::handlePhpError(8, '[E_NOTICE] Indi...', '/home/nginx/dom...', 188, Array)
#1 src/addons/DBTech/eCommerce/Purchasable/Order.php(147): DBTech\eCommerce\Purchasable\Order->getPurchaseObject(Object(XF\Entity\PaymentProfile), Object(DBTech\eCommerce\Entity\Order), Object(XFMG\XF\Entity\User))
#2 src/XF/Pub/Controller/Purchase.php(53): DBTech\eCommerce\Purchasable\Order->getPurchaseFromExtraData(Array, Object(XF\Entity\PaymentProfile), Object(XFMG\XF\Entity\User), NULL)
#3 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Purchase->actionProcess(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Purchase', 'Process', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#5 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#6 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
Request state
array(4) {
  ["url"] => string(62) "/purchase/process?request_key=yXhgBzaop_FWMgYScnrDD9JfTUjlWFk_"
  ["referrer"] => string(36) "https://lw-addons.net/store/checkout"
  ["_GET"] => array(2) {
    ["/purchase/process"] => string(0) ""
    ["request_key"] => string(32) "yXhgBzaop_FWMgYScnrDD9JfTUjlWFk_"
  }
  ["_POST"] => array(5) {
    ["_xfToken"] => string(8) "********"
    ["response"] => array(1) {
      ["id"] => string(28) "tok_1EI20jIlQrjTEyD0IYzANkkI"
    }
    ["_xfRequestUri"] => string(15) "/store/checkout"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
I've hotfixed it, if you re-download and re-upload the files it won't happen again. It doesn't prevent a successful payment from being taken either, but yeah a fresh download will sort it :)
 
Hello @Liam W,

We hope your ticket regarding DragonByte eCommerce has been addressed to your satisfaction. This ticket has now been closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,040
Customer rating
4.86 star(s) 7 ratings
Back
Top