shipperhq / module-shipper

Base ShipperHQ Repo
Open Software License 3.0
21 stars 21 forks source link

Amazon integrity constraint violation #47

Closed JosephMaxwell closed 6 years ago

JosephMaxwell commented 6 years ago

Magento 2.2.4 ShipperHQ/module-shipper: v20.18.10

After creating an order, this error is seen: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguous

The solution is found in: \ShipperHQ\Shipper\Helper\CarrierGroup::getQuoteShippingAddressFromOrder. Change the entity_id in the SearchCriteria to main_table.entity_id and the problem goes away. I am not sure how this will work in prior versions or if Amazon is disabled.


2 exception(s):
Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguous, query was: SELECT `main_table`.*, `extension_attribute_amazon_order_reference_id`.`amazon_order_reference_id` AS `extension_attribute_amazon_order_reference_id_amazon_order_reference_id` FROM `quote` AS `main_table`
 LEFT JOIN `amazon_quote` AS `extension_attribute_amazon_order_reference_id` ON main_table.entity_id = extension_attribute_amazon_order_reference_id.quote_id WHERE ((`entity_id` = '57844'))
Exception #1 (PDOException): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguous

Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguous, query was: SELECT `main_table`.*, `extension_attribute_amazon_order_reference_id`.`amazon_order_reference_id` AS `extension_attribute_amazon_order_reference_id_amazon_order_reference_id` FROM `quote` AS `main_table`
 LEFT JOIN `amazon_quote` AS `extension_attribute_amazon_order_reference_id` ON main_table.entity_id = extension_attribute_amazon_order_reference_id.quote_id WHERE ((`entity_id` = '57844'))
#0 /var/www/sites/magento2/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array)
#2 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#4 /var/www/sites/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(517): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/sites/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(580): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', Array)
#6 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array)
#7 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array)
#8 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(774): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array)
#9 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(670): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select))
#10 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(574): Magento\Framework\Data\Collection\AbstractDb->getData()
#11 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(559): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false)
#12 /var/www/sites/magento2/vendor/magento/framework/Data/Collection.php(331): Magento\Framework\Data\Collection\AbstractDb->load()
#13 /var/www/sites/magento2/vendor/magento/module-quote/Model/QuoteRepository.php(234): Magento\Framework\Data\Collection->getItems()
#14 /var/www/sites/magento2/generated/code/Magento/Quote/Model/QuoteRepository/Interceptor.php(102): Magento\Quote\Model\QuoteRepository->getList(Object(Magento\Framework\Api\SearchCriteria))
#15 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Helper/CarrierGroup.php(272): Magento\Quote\Model\QuoteRepository\Interceptor->getList(Object(Magento\Framework\Api\SearchCriteria))
#16 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Helper/CarrierGroup.php(238): ShipperHQ\Shipper\Helper\CarrierGroup->getQuoteShippingAddressFromOrder(Object(Magento\Sales\Model\Order\Interceptor))
#17 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Block/Adminhtml/Order/View/Info.php(132): ShipperHQ\Shipper\Helper\CarrierGroup->recoverOrderInfoFromQuote(Object(Magento\Sales\Model\Order\Interceptor))
#18 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Block/Adminhtml/Order/View/Info.php(101): ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info->getCarriergroupInfo()
#19 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Block/Adminhtml/Order/View/Info.php(94): ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info->getFieldValue('carrier_group_d...')
#20 [internal function]: ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info->getCarrierGroupBreakdownText()
#21 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(82): call_user_func_array(Array, Array)
#22 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/view/adminhtml/templates/order/view/shq_info.phtml(10): Magento\Framework\View\TemplateEngine\Php->__call('getCarrierGroup...', Array)
#23 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#24 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info), '/var/www/sites/...', Array)
#25 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#26 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#27 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#28 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml()
#29 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(534): Magento\Framework\View\Layout->_renderBlock('postorder_info')
#30 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('postorder_info')
#31 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('postorder_info')
#32 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('postorder_info', true)
#33 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(507): Magento\Framework\View\Layout\Interceptor->renderElement('postorder_info', true)
#34 [internal function]: Magento\Framework\View\Element\AbstractBlock->getChildHtml('postorder_info')
#35 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(82): call_user_func_array(Array, Array)
#36 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/view/adminhtml/templates/order/view/info.phtml(11): Magento\Framework\View\TemplateEngine\Php->__call('getChildHtml', Array)
#37 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#38 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Sales\Block\Adminhtml\Order\AbstractOrder), '/var/www/sites/...', Array)
#39 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#40 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#41 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#42 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml()
#43 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(534): Magento\Framework\View\Layout->_renderBlock('order_shipping_...')
#44 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('order_shipping_...')
#45 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('order_shipping_...')
#46 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('order_shipping_...', true)
#47 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(507): Magento\Framework\View\Layout\Interceptor->renderElement('order_shipping_...', true)
#48 /var/www/sites/magento2/vendor/magento/module-sales/view/adminhtml/templates/order/view/tab/info.phtml(39): Magento\Framework\View\Element\AbstractBlock->getChildHtml('order_shipping_...')
#49 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#50 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Sales\Block\Adminhtml\Order\View\Tab\Info), '/var/www/sites/...', Array)
#51 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#52 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#53 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#54 /var/www/sites/magento2/vendor/magento/module-backend/Block/Widget/Tabs.php(390): Magento\Framework\View\Element\AbstractBlock->toHtml()
#55 /var/www/sites/magento2/vendor/magento/module-backend/view/adminhtml/templates/widget/tabs.phtml(57): Magento\Backend\Block\Widget\Tabs->getTabContent(Object(Magento\Sales\Block\Adminhtml\Order\View\Tab\Info))
#56 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#57 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Sales\Block\Adminhtml\Order\View\Tabs), '/var/www/sites/...', Array)
#58 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#59 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#60 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#61 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml()
#62 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(534): Magento\Framework\View\Layout->_renderBlock('sales_order_tab...')
#63 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('sales_order_tab...')
#64 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('sales_order_tab...')
#65 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('sales_order_tab...', true)
#66 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('sales_order_tab...')
#67 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('left')
#68 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('left')
#69 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('left')
#70 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('left', true)
#71 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('left')
#72 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('side.col')
#73 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('side.col')
#74 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('side.col')
#75 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('side.col', true)
#76 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('side.col')
#77 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('page.main.conta...')
#78 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.main.conta...')
#79 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.conta...')
#80 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.main.conta...', true)
#81 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.main.conta...')
#82 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('page.content')
#83 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.content')
#84 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content')
#85 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.content', true)
#86 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.content')
#87 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#88 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#89 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#90 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', true)
#91 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper')
#92 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('backend.page')
#93 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('backend.page')
#94 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page')
#95 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('backend.page', true)
#96 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('backend.page')
#97 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('root')
#98 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#99 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#100 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#101 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(954): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#102 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(492): Magento\Framework\View\Layout->getOutput()
#103 /var/www/sites/magento2/vendor/magento/framework/View/Result/Page.php(257): Magento\Framework\View\Layout\Interceptor->getOutput()
#104 /var/www/sites/magento2/vendor/magento/framework/View/Result/Layout.php(170): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#105 /var/www/sites/magento2/generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#106 /var/www/sites/magento2/vendor/magento/framework/App/Http.php(139): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#107 /var/www/sites/magento2/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch()
#108 /var/www/sites/magento2/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch()
#109 /var/www/sites/magento2/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#110 {main}

Exception #1 (PDOException): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguous
#0 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /var/www/sites/magento2/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array)
#2 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array)
#3 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#4 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/sites/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(517): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#6 /var/www/sites/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(580): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', Array)
#7 /var/www/sites/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array)
#8 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array)
#9 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(774): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array)
#10 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(670): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select))
#11 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(574): Magento\Framework\Data\Collection\AbstractDb->getData()
#12 /var/www/sites/magento2/vendor/magento/framework/Data/Collection/AbstractDb.php(559): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false)
#13 /var/www/sites/magento2/vendor/magento/framework/Data/Collection.php(331): Magento\Framework\Data\Collection\AbstractDb->load()
#14 /var/www/sites/magento2/vendor/magento/module-quote/Model/QuoteRepository.php(234): Magento\Framework\Data\Collection->getItems()
#15 /var/www/sites/magento2/generated/code/Magento/Quote/Model/QuoteRepository/Interceptor.php(102): Magento\Quote\Model\QuoteRepository->getList(Object(Magento\Framework\Api\SearchCriteria))
#16 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Helper/CarrierGroup.php(272): Magento\Quote\Model\QuoteRepository\Interceptor->getList(Object(Magento\Framework\Api\SearchCriteria))
#17 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Helper/CarrierGroup.php(238): ShipperHQ\Shipper\Helper\CarrierGroup->getQuoteShippingAddressFromOrder(Object(Magento\Sales\Model\Order\Interceptor))
#18 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Block/Adminhtml/Order/View/Info.php(132): ShipperHQ\Shipper\Helper\CarrierGroup->recoverOrderInfoFromQuote(Object(Magento\Sales\Model\Order\Interceptor))
#19 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Block/Adminhtml/Order/View/Info.php(101): ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info->getCarriergroupInfo()
#20 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/Block/Adminhtml/Order/View/Info.php(94): ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info->getFieldValue('carrier_group_d...')
#21 [internal function]: ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info->getCarrierGroupBreakdownText()
#22 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(82): call_user_func_array(Array, Array)
#23 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/view/adminhtml/templates/order/view/shq_info.phtml(10): Magento\Framework\View\TemplateEngine\Php->__call('getCarrierGroup...', Array)
#24 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#25 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(ShipperHQ\Shipper\Block\Adminhtml\Order\View\Info), '/var/www/sites/...', Array)
#26 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#27 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#28 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#29 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml()
#30 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(534): Magento\Framework\View\Layout->_renderBlock('postorder_info')
#31 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('postorder_info')
#32 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('postorder_info')
#33 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('postorder_info', true)
#34 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(507): Magento\Framework\View\Layout\Interceptor->renderElement('postorder_info', true)
#35 [internal function]: Magento\Framework\View\Element\AbstractBlock->getChildHtml('postorder_info')
#36 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(82): call_user_func_array(Array, Array)
#37 /var/www/sites/magento2/vendor/shipperhq/module-shipper/src/view/adminhtml/templates/order/view/info.phtml(11): Magento\Framework\View\TemplateEngine\Php->__call('getChildHtml', Array)
#38 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#39 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Sales\Block\Adminhtml\Order\AbstractOrder), '/var/www/sites/...', Array)
#40 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#41 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#42 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#43 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml()
#44 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(534): Magento\Framework\View\Layout->_renderBlock('order_shipping_...')
#45 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('order_shipping_...')
#46 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('order_shipping_...')
#47 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('order_shipping_...', true)
#48 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(507): Magento\Framework\View\Layout\Interceptor->renderElement('order_shipping_...', true)
#49 /var/www/sites/magento2/vendor/magento/module-sales/view/adminhtml/templates/order/view/tab/info.phtml(39): Magento\Framework\View\Element\AbstractBlock->getChildHtml('order_shipping_...')
#50 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#51 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Sales\Block\Adminhtml\Order\View\Tab\Info), '/var/www/sites/...', Array)
#52 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#53 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#54 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#55 /var/www/sites/magento2/vendor/magento/module-backend/Block/Widget/Tabs.php(390): Magento\Framework\View\Element\AbstractBlock->toHtml()
#56 /var/www/sites/magento2/vendor/magento/module-backend/view/adminhtml/templates/widget/tabs.phtml(57): Magento\Backend\Block\Widget\Tabs->getTabContent(Object(Magento\Sales\Block\Adminhtml\Order\View\Tab\Info))
#57 /var/www/sites/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/sites/...')
#58 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Sales\Block\Adminhtml\Order\View\Tabs), '/var/www/sites/...', Array)
#59 /var/www/sites/magento2/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/sites/...')
#60 /var/www/sites/magento2/vendor/magento/module-backend/Block/Template.php(124): Magento\Framework\View\Element\Template->_toHtml()
#61 /var/www/sites/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Backend\Block\Template->_toHtml()
#62 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml()
#63 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(534): Magento\Framework\View\Layout->_renderBlock('sales_order_tab...')
#64 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('sales_order_tab...')
#65 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('sales_order_tab...')
#66 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('sales_order_tab...', true)
#67 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('sales_order_tab...')
#68 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('left')
#69 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('left')
#70 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('left')
#71 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('left', true)
#72 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('left')
#73 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('side.col')
#74 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('side.col')
#75 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('side.col')
#76 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('side.col', true)
#77 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('side.col')
#78 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('page.main.conta...')
#79 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.main.conta...')
#80 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.conta...')
#81 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.main.conta...', true)
#82 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.main.conta...')
#83 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('page.content')
#84 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.content')
#85 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content')
#86 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.content', true)
#87 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.content')
#88 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#89 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#90 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#91 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', true)
#92 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper')
#93 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('backend.page')
#94 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('backend.page')
#95 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page')
#96 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('backend.page', true)
#97 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('backend.page')
#98 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(536): Magento\Framework\View\Layout->_renderContainer('root')
#99 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#100 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#101 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#102 /var/www/sites/magento2/vendor/magento/framework/View/Layout.php(954): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#103 /var/www/sites/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(492): Magento\Framework\View\Layout->getOutput()
#104 /var/www/sites/magento2/vendor/magento/framework/View/Result/Page.php(257): Magento\Framework\View\Layout\Interceptor->getOutput()
#105 /var/www/sites/magento2/vendor/magento/framework/View/Result/Layout.php(170): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#106 /var/www/sites/magento2/generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#107 /var/www/sites/magento2/vendor/magento/framework/App/Http.php(139): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#108 /var/www/sites/magento2/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch()
#109 /var/www/sites/magento2/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch()
#110 /var/www/sites/magento2/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#111 {main}```
wsagen commented 6 years ago

Hi,

Thanks for raising the issue. We've pushed a release yesterday to resolve this, v20.18.11.

If you can update and retest, let me know if you are still seeing issues

JosephMaxwell commented 6 years ago

Thank you.