AndroidRep
Customer
After refunding a user we are getting the following errors in acp:
I saw a post from 2019 where you were adding a work around for this problem, i wonder if it creeped back in ?
Also this error is also prevelent, i dont know if its related to the same user but we have this every time the cronjob runs now.
Thanks!
Code:
TypeError: Argument 2 passed to DBTech\eCommerce\Service\Order\Complete::__construct() must be an instance of DBTech\eCommerce\Entity\Order, null given, called in /public/src/XF/Container.php on line 270
src/addons/DBTech/eCommerce/Service/Order/Complete.php:52
#0 src/XF/Container.php(270): DBTech\eCommerce\Service\Order\Complete->__construct(Object(XF\Pub\App), NULL, Object(SV\ModeratorEssentials\XF\Entity\User))
#1 src/XF/App.php(1576): XF\Container->createObject('DBTech\\eCommerc...', Array)
#2 src/XF/Container.php(228): XF\App->XF\{closure}('DBTech\\eCommerc...', Array, Object(XF\Container))
#3 src/XF/App.php(2782): XF\Container->create('service', 'DBTech\\eCommerc...', Array)
#4 src/addons/DBTech/eCommerce/Purchasable/Order.php(239): XF\App->service('DBTech\\eCommerc.
["txn_type"] => string(10) "web_accept"
["item_name"] => string(30) "eCommerce order #2831 (xxxx)"
["discount"] => string(4) "0.00"
I saw a post from 2019 where you were adding a work around for this problem, i wonder if it creeped back in ?
Also this error is also prevelent, i dont know if its related to the same user but we have this every time the cronjob runs now.
Code:
TypeError: Argument 1 passed to XF::asVisitor() must be an instance of XF\Entity\User, null given, called in /public/src/addons/DBTech/eCommerce/Repository/License.php on line 417
src/XF.php:473
#0 src/addons/DBTech/eCommerce/Repository/License.php(417): XF::asVisitor(NULL, Object(Closure))
#1 [internal function]: DBTech\eCommerce\Repository\License->DBTech\eCommerce\Repository\{closure}(Object(DBTech\eCommerce\Entity\License))
#2 src/XF/Mvc/Entity/AbstractCollection.php(189): array_filter(Array, Object(Closure))
#3 src/addons/DBTech/eCommerce/Repository/License.php(425): XF\Mvc\Entity\AbstractCollection->
Thanks!
Last edited: