Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle product 2.2.6 error exception SQLSTATE[42000] #18275

Closed
albsa opened this issue Sep 26, 2018 · 2 comments
Closed

Bundle product 2.2.6 error exception SQLSTATE[42000] #18275

albsa opened this issue Sep 26, 2018 · 2 comments
Labels
Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@albsa
Copy link

albsa commented Sep 26, 2018

Preconditions

  1. PHP 7.1.18 - mysql Ver 15.1 Distrib 10.2.13-MariaDB, for Linux (x86_64) using readline 5.1
  2. Magento 2.2.6

Steps to reproduce

  1. Create bundle product
  2. Visit bundle product page on frontend or load bundle product in category

Expected result

  1. See the bundle product appear in the category or able to visit the bundle product page

Actual result

  1. When trying to visit category or bundle product page an error throws.
    This happend after the upgrade to 2.2.6. On 2.2.5 we did not see this issue.

2 exception(s): Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'stock_item.backorders = 101 or ders = 1, 0, stock_item.backor stock_item.backord' at line 7, query was: SELECT e.*, selection.*, stock_status_index.stock_statusASis_salable, product_attributes.absolute_price, product_attributes.absolute_cost, product_attributes.absolute_weightFROMcatalog_product_entityASeINNER JOINcatalog_product_bundle_selectionASselectionON selection.product_id = e.entity_id INNER JOINcatalog_product_websiteASproduct_websiteON product_website.product_id = e.entity_id AND product_website.website_id = '1' INNER JOINcataloginventory_stock_itemASstock_itemON selection.product_id = stock_item.product_id LEFT JOINcatalog_product_bundle_selection_priceASpriceON selection.selection_id = price.selection_id AND price.website_id = 1 INNER JOINcataloginventory_stock_statusASstock_status_indexON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1 LEFT JOINmageworx_optionfeatures_product_attributesASproduct_attributesONe.entity_id=product_attributes.product_id WHERE (((e.required_options` != 1))) AND (selection.option_id IN (1)) AND (selection.parent_product_id = '136') AND (IF(stock_item.use_config_manage_stock = 1, 1, stock_item.manage_stock) = 0 OR stock_item.backorders = 101 OR (stock_item.is_in_stock = 1 AND (IF(stock_item.use_config_backor stock_item.backorders = 101 or ders = 1, 0, stock_item.backor stock_item.backorders = 101 or ders) != 0 OR stock_item.backorders = 101 OR IF(selection.selection_can_change_qty, IF(stock_item.use_config_min_sale_qty = 1, 1, stock_item.min_sale_qty), selection.selection_qty) <= stock_item.qty))) AND (stock_status_index.stock_status = 1) ORDER BY (IF(IFNULL(price.selection_price_type, selection.selection_price_type) = 1, 19.95 * IFNULL(price.selection_price_value, selection.selection_price_value) / 100, IFNULL(price.selection_price_value, selection.selection_price_value)) * selection.selection_qty)ASC
LIMIT 1
Exception #1 (PDOException): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'stock_item.backorders = 101 or ders = 1, 0, stock_item.backor stock_item.backord' at line 7

Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'stock_item.backorders = 101 or ders = 1, 0, stock_item.backor stock_item.backord' at line 7, query was: SELECT e., selection., stock_status_index.stock_status AS is_salable, product_attributes.absolute_price, product_attributes.absolute_cost, product_attributes.absolute_weight FROM catalog_product_entity AS e
INNER JOIN catalog_product_bundle_selection AS selection ON selection.product_id = e.entity_id
INNER JOIN catalog_product_website AS product_website ON product_website.product_id = e.entity_id AND product_website.website_id = '1'
INNER JOIN cataloginventory_stock_item AS stock_item ON selection.product_id = stock_item.product_id
LEFT JOIN catalog_product_bundle_selection_price AS price ON selection.selection_id = price.selection_id AND price.website_id = 1
INNER JOIN cataloginventory_stock_status AS stock_status_index ON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1
LEFT JOIN mageworx_optionfeatures_product_attributes AS product_attributes ON e.entity_id = product_attributes.product_id WHERE (((e.required_options != 1))) AND (selection.option_id IN (1)) AND (selection.parent_product_id = '136') AND (IF(stock_item.use_config_manage_stock = 1, 1, stock_item.manage_stock) = 0 OR stock_item.backorders = 101 OR (stock_item.is_in_stock = 1 AND (IF(stock_item.use_config_backor stock_item.backorders = 101 or ders = 1, 0, stock_item.backor stock_item.backorders = 101 or ders) != 0 OR stock_item.backorders = 101 OR IF(selection.selection_can_change_qty, IF(stock_item.use_config_min_sale_qty = 1, 1, stock_item.min_sale_qty), selection.selection_qty) <= stock_item.qty))) AND (stock_status_index.stock_status = 1) ORDER BY (IF(IFNULL(price.selection_price_type, selection.selection_price_type) = 1, 19.95 * IFNULL(price.selection_price_value, selection.selection_price_value) / 100, IFNULL(price.selection_price_value, selection.selection_price_value)) * selection.selection_qty)ASC
LIMIT 1
#0 ../public_html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array)
#1 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array)
#2 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT e., ...', Array) #4 ../public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT e.*, ...', Array)
#5 ../public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(605): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT e.
, `...', Array)
#6 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array)
#7 ../public_html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array)
#8 ../public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(774): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array)
#9 ../public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(1115): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select))
#10 ../public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(913): Magento\Eav\Model\Entity\Collection\AbstractCollection->_loadEntities(false, false)
#11 ../public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(777): Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false)
#12 ../public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Model\ResourceModel\Product\Collection->load(false, false)
#13 ../public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->___callParent('load', Array)
#14 ../public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->Magento\Framework\Interception{closure}()
#15 ../public_html/generated/code/Magento/Bundle/Model/ResourceModel/Selection/Collection/Interceptor.php(39): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->___callPlugins('load', Array, Array)
#16 ../public_html/vendor/magento/framework/Data/Collection.php(298): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->load()
#17 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php(117): Magento\Framework\Data\Collection->getFirstItem()
#18 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php(72): Magento\Bundle\Pricing\Adjustment\DefaultSelectionPriceListProvider->addMiniMaxPriceList(Object(Magento\Catalog\Model\Product\Interceptor), Object(Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor), true, false)
#19 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/Calculator.php(197): Magento\Bundle\Pricing\Adjustment\DefaultSelectionPriceListProvider->getPriceList(Object(Magento\Catalog\Model\Product\Interceptor), true, false)
#20 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/Calculator.php(163): Magento\Bundle\Pricing\Adjustment\Calculator->getSelectionAmounts(Object(Magento\Catalog\Model\Product\Interceptor), true, false)
#21 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/Calculator.php(99): Magento\Bundle\Pricing\Adjustment\Calculator->getOptionsAmount(Object(Magento\Catalog\Model\Product\Interceptor), NULL, true, 19.95)
#22 ../public_html/vendor/magento/module-bundle/Pricing/Price/FinalPrice.php(132): Magento\Bundle\Pricing\Adjustment\Calculator->getAmount(19.95, Object(Magento\Catalog\Model\Product\Interceptor))
#23 ../public_html/vendor/magento/module-bundle/Pricing/Price/FinalPrice.php(114): Magento\Bundle\Pricing\Price\FinalPrice->getAmount()
#24 ../public_html/vendor/magento/module-bundle/view/base/templates/product/price/final_price.phtml(17): Magento\Bundle\Pricing\Price\FinalPrice->getMinimalPrice()
#25 ../public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/samz1/dom...')
#26 ../public_html/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Bundle\Pricing\Render\FinalPriceBox\Interceptor), '/home/samz1/dom...', Array)
#27 ../public_html/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/home/samz1/dom...')
#28 ../public_html/vendor/magento/framework/Pricing/Render/PriceBox.php(69): Magento\Framework\View\Element\Template->_toHtml()
#29 ../public_html/vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php(71): Magento\Framework\Pricing\Render\PriceBox->_toHtml()
#30 ../public_html/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Catalog\Pricing\Render\FinalPriceBox->_toHtml()
#31 ../public_html/vendor/magento/framework/Pricing/Render.php(97): Magento\Framework\View\Element\AbstractBlock->toHtml()
#32 ../public_html/vendor/magento/module-catalog/Pricing/Render.php(60): Magento\Framework\Pricing\Render->render('final_price', Object(Magento\Catalog\Model\Product\Interceptor), Array)
#33 ../public_html/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Catalog\Pricing\Render->_toHtml()
#34 ../public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Element\AbstractBlock->toHtml()
#35 ../public_html/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_renderBlock('product.price.f...')
#36 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.price.f...')
#37 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.price.f...')
#38 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.price.f...', false)
#39 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.price.f...', false)
#40 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('product.info.pr...', false)
#41 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.pr...')
#42 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.pr...')
#43 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.pr...', false)
#44 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.pr...', false)
#45 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('product.info.ma...', false)
#46 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.ma...')
#47 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.ma...')
#48 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.ma...', false)
#49 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.ma...', false)
#50 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('content', false)
#51 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content')
#52 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content')
#53 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', false)
#54 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('content', false)
#55 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('main', false)
#56 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main')
#57 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main')
#58 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', false)
#59 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('main', false)
#60 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('columns', false)
#61 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('columns')
#62 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns')
#63 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('columns', false)
#64 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('columns', false)
#65 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('main.content', false)
#66 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.content')
#67 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content')
#68 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.content', false)
#69 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('main.content', false)
#70 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false)
#71 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#72 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#73 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', false)
#74 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false)
#75 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('root', false)
#76 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#77 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#78 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#79 ../public_html/vendor/magento/framework/View/Layout.php(954): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#80 ../public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput()
#81 ../public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array)
#82 ../public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception{closure}()
#83 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(494): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array)
#84 ../public_html/vendor/magento/framework/View/Result/Page.php(257): Magento\Framework\View\Layout\Interceptor->getOutput()
#85 ../public_html/vendor/magento/framework/View/Result/Layout.php(170): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#86 ../public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#87 ../public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array)
#88 ../public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Response\Http\Interceptor))
#89 ../public_html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array)
#90 ../public_html/vendor/magento/framework/App/Http.php(139): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#91 ../public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch()
#92 ../public_html/vendor/magento/framework/App/Bootstrap.php(257): Magento\Framework\App\Http\Interceptor->launch()
#93 ../public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#94 {main}

Exception #1 (PDOException): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'stock_item.backorders = 101 or ders = 1, 0, stock_item.backor stock_item.backord' at line 7
#0 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 ../public_html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array)
#2 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array)
#3 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#4 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT e., ...', Array) #5 ../public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT e.*, ...', Array)
#6 ../public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(605): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT e.
, ...', Array) #7 ../public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 ../public_html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array) #9 ../public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(774): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array) #10 ../public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(1115): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select)) #11 ../public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(913): Magento\Eav\Model\Entity\Collection\AbstractCollection->_loadEntities(false, false) #12 ../public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(777): Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false) #13 ../public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Model\ResourceModel\Product\Collection->load(false, false) #14 ../public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->___callParent('load', Array) #15 ../public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->Magento\Framework\Interception\{closure}() #16 ../public_html/generated/code/Magento/Bundle/Model/ResourceModel/Selection/Collection/Interceptor.php(39): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->___callPlugins('load', Array, Array) #17 ../public_html/vendor/magento/framework/Data/Collection.php(298): Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor->load() #18 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php(117): Magento\Framework\Data\Collection->getFirstItem() #19 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php(72): Magento\Bundle\Pricing\Adjustment\DefaultSelectionPriceListProvider->addMiniMaxPriceList(Object(Magento\Catalog\Model\Product\Interceptor), Object(Magento\Bundle\Model\ResourceModel\Selection\Collection\Interceptor), true, false) #20 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/Calculator.php(197): Magento\Bundle\Pricing\Adjustment\DefaultSelectionPriceListProvider->getPriceList(Object(Magento\Catalog\Model\Product\Interceptor), true, false) #21 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/Calculator.php(163): Magento\Bundle\Pricing\Adjustment\Calculator->getSelectionAmounts(Object(Magento\Catalog\Model\Product\Interceptor), true, false) #22 ../public_html/vendor/magento/module-bundle/Pricing/Adjustment/Calculator.php(99): Magento\Bundle\Pricing\Adjustment\Calculator->getOptionsAmount(Object(Magento\Catalog\Model\Product\Interceptor), NULL, true, 19.95) #23 ../public_html/vendor/magento/module-bundle/Pricing/Price/FinalPrice.php(132): Magento\Bundle\Pricing\Adjustment\Calculator->getAmount(19.95, Object(Magento\Catalog\Model\Product\Interceptor)) #24 ../public_html/vendor/magento/module-bundle/Pricing/Price/FinalPrice.php(114): Magento\Bundle\Pricing\Price\FinalPrice->getAmount() #25 ../public_html/vendor/magento/module-bundle/view/base/templates/product/price/final_price.phtml(17): Magento\Bundle\Pricing\Price\FinalPrice->getMinimalPrice() #26 ../public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/samz1/dom...') #27 ../public_html/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Bundle\Pricing\Render\FinalPriceBox\Interceptor), '/home/samz1/dom...', Array) #28 ../public_html/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/home/samz1/dom...') #29 ../public_html/vendor/magento/framework/Pricing/Render/PriceBox.php(69): Magento\Framework\View\Element\Template->_toHtml() #30 ../public_html/vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php(71): Magento\Framework\Pricing\Render\PriceBox->_toHtml() #31 ../public_html/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Catalog\Pricing\Render\FinalPriceBox->_toHtml() #32 ../public_html/vendor/magento/framework/Pricing/Render.php(97): Magento\Framework\View\Element\AbstractBlock->toHtml() #33 ../public_html/vendor/magento/module-catalog/Pricing/Render.php(60): Magento\Framework\Pricing\Render->render('final_price', Object(Magento\Catalog\Model\Product\Interceptor), Array) #34 ../public_html/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Catalog\Pricing\Render->_toHtml() #35 ../public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Element\AbstractBlock->toHtml() #36 ../public_html/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_renderBlock('product.price.f...') #37 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.price.f...') #38 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.price.f...') #39 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.price.f...', false) #40 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.price.f...', false) #41 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('product.info.pr...', false) #42 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.pr...') #43 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.pr...') #44 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.pr...', false) #45 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.pr...', false) #46 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('product.info.ma...', false) #47 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.ma...') #48 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.ma...') #49 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.ma...', false) #50 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.ma...', false) #51 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('content', false) #52 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content') #53 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') #54 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', false) #55 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('content', false) #56 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('main', false) #57 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main') #58 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main') #59 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', false) #60 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('main', false) #61 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('columns', false) #62 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('columns') #63 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns') #64 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('columns', false) #65 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('columns', false) #66 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('main.content', false) #67 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.content') #68 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content') #69 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.content', false) #70 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('main.content', false) #71 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) #72 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') #73 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') #74 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', false) #75 ../public_html/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) #76 ../public_html/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('root', false) #77 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root') #78 ../public_html/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') #79 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true) #80 ../public_html/vendor/magento/framework/View/Layout.php(954): Magento\Framework\View\Layout\Interceptor->renderElement('root') #81 ../public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #82 ../public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #83 ../public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #84 ../public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(494): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #85 ../public_html/vendor/magento/framework/View/Result/Page.php(257): Magento\Framework\View\Layout\Interceptor->getOutput() #86 ../public_html/vendor/magento/framework/View/Result/Layout.php(170): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #87 ../public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #88 ../public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #89 ../public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #90 ../public_html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #91 ../public_html/vendor/magento/framework/App/Http.php(139): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #92 ../public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #93 ../public_html/vendor/magento/framework/App/Bootstrap.php(257): Magento\Framework\App\Http\Interceptor->launch() #94 ../public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #95 {main}

@magento-engcom-team
Copy link
Contributor

Hi @albsa. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me $VERSION instance

where $VERSION is version tags (starting from 2.2.0+) or develop branches (for example: 2.3-develop).
For more details, please, review the Magento Contributor Assistant documentation.

@albsa do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Sep 26, 2018
@magento-engcom-team
Copy link
Contributor

Hi @engcom-backlog-nazar. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • 6. Add label Issue: Confirmed once verification is complete.

  • 7. Make sure that automatic system confirms that report has been added to the backlog.

@ghost ghost self-assigned this Sep 27, 2018
@ghost ghost added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Sep 27, 2018
@ghost ghost removed their assignment Sep 27, 2018
@albsa albsa closed this as completed Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

2 participants