Question Shop Error

Status
Not open for further replies.

noble_man

Customer
I set up a new shop and i'm getting the errors listed below, it was working on the past.

Code:
Server error log

    ErrorException: [E_WARNING] Undefined array key 1 src/addons/DBTech/Shop/ItemType/Custom.php:89

    Generated by: Jay Nov 29, 2021 at 9:30 PM

Stack trace

#0 src/addons/DBTech/Shop/ItemType/Custom.php(89): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/mysite...', 89)
#1 src/addons/DBTech/Shop/Repository/Purchase.php(724): DBTech\Shop\ItemType\Custom->getConfigurationForConversation()
#2 src/addons/DBTech/Shop/Service/Cart/Complete.php(238): DBTech\Shop\Repository\Purchase->sendGiftNotification(Object(DBTech\Shop\Entity\Item), Object(DBTech\Shop\Entity\Purchase))
#3 src/XF/Service/ValidateAndSavableTrait.php(42): DBTech\Shop\Service\Cart\Complete->_save()
#4 src/addons/DBTech/Shop/Pub/Controller/Checkout.php(241): DBTech\Shop\Service\Cart\Complete->save()
#5 src/XF/Mvc/Dispatcher.php(352): DBTech\Shop\Pub\Controller\Checkout->actionComplete(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Shop\\Pub...', 'Complete', Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Pub\Controller\Checkout), Object(XF\Mvc\Reply\Reroute))
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Pub\Controller\Checkout), Object(XF\Mvc\Reply\Reroute))
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#10 src/XF.php(512): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(21) "/shop/checkout/update"
  ["referrer"] => string(36) "https://mysite.com/shop/checkout"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["quantity"] => array(1) {
      ["405-23-545"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["purchase"] => string(9) "undefined"
    ["_xfRequestUri"] => string(14) "/shop/checkout"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
I'll resolve that in the next version, thanks.

Unfortunately I don't have an ETA for when the next version will be released.
 
Hello @noble_man,

We hope your ticket regarding DragonByte Shop has been addressed to your satisfaction. This ticket has now been scheduled to be 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.
 
Hello @noble_man,

We hope your ticket regarding DragonByte Shop has been addressed to your satisfaction. This ticket has now been scheduled to be 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 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
3,185
Customer rating
5.00 star(s) 3 ratings
Back
Top