-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Exception (BadMethodCallException): Missing required argument $msrpPriceCalculators of Magento\Msrp\Pricing\MsrpPriceCalculator. #22190
Comments
Hi @lfluvisotto. Thank you for your report.
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:
For more details, please, review the Magento Contributor Assistant documentation. @lfluvisotto do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
In vanilla Magento instance is possible to simulate the issue if it's possible to disable the modules Magento_MsrpConfigurableProduct and Magento_MsrpGroupedProduct |
Hi @davidverholen. Thank you for working on this issue.
|
✅ Confirmed by @davidverholen Issue Available: @davidverholen, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @lfluvisotto, @lfluvisotto. Thank you for your report and collaboration! The issue was fixed by Magento team. The fix will be available with the upcoming |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
1 exception(s):
Exception #0 (BadMethodCallException): Missing required argument $msrpPriceCalculators of Magento\Msrp\Pricing\MsrpPriceCalculator.
Exception #0 (BadMethodCallException): Missing required argument $msrpPriceCalculators of Magento\Msrp\Pricing\MsrpPriceCalculator.
#1 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() called at [lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php:59]
#2 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() called at [lib/internal/Magento/Framework/ObjectManager/ObjectManager.php:70]
#3 Magento\Framework\ObjectManager\ObjectManager->get() called at [app/code/Magento/Msrp/Helper/Data.php:82]
#4 Magento\Msrp\Helper\Data->__construct() called at [lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php:116]
#5 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() called at [lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php:66]
#6 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() called at [lib/internal/Magento/Framework/ObjectManager/ObjectManager.php:70]
#7 Magento\Framework\ObjectManager\ObjectManager->get() called at [lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php:160]
#8 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() called at [lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php:246]
#9 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() called at [lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php:34]
#10 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() called at [lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php:59]
#11 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() called at [lib/internal/Magento/Framework/ObjectManager/ObjectManager.php:56]
#12 Magento\Framework\ObjectManager\ObjectManager->create() called at [lib/internal/Magento/Framework/Pricing/Price/Factory.php:47]
#13 Magento\Framework\Pricing\Price\Factory->create() called at [lib/internal/Magento/Framework/Pricing/Price/Collection.php:138]
#14 Magento\Framework\Pricing\Price\Collection->get() called at [lib/internal/Magento/Framework/Pricing/Price/Collection.php:93]
#15 Magento\Framework\Pricing\Price\Collection->current() called at [app/code/Magento/Catalog/Pricing/Price/BasePrice.php:31]
#16 Magento\Catalog\Pricing\Price\BasePrice->getValue() called at [app/code/Magento/Catalog/Pricing/Price/FinalPrice.php:44]
#17 Magento\Catalog\Pricing\Price\FinalPrice->getValue() called at [lib/internal/Magento/Framework/Pricing/Price/AbstractPrice.php:100]
#18 Magento\Framework\Pricing\Price\AbstractPrice->getAmount() called at [app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php:156]
#19 Magento\Catalog\Pricing\Render\FinalPriceBox->hasSpecialPrice() called at [generated/code/Magento/Catalog/Pricing/Render/FinalPriceBox/Interceptor.php:37]
#20 Magento\Catalog\Pricing\Render\FinalPriceBox\Interceptor->hasSpecialPrice() called at [app/code/Magento/Catalog/view/base/templates/product/price/final_price.phtml:24]
#21 include() called at [lib/internal/Magento/Framework/View/TemplateEngine/Php.php:59]
#22 Magento\Framework\View\TemplateEngine\Php->render() called at [lib/internal/Magento/Framework/View/Element/Template.php:270]
#23 Magento\Framework\View\Element\Template->fetchView() called at [generated/code/Magento/Catalog/Pricing/Render/FinalPriceBox/Interceptor.php:271]
#24 Magento\Catalog\Pricing\Render\FinalPriceBox\Interceptor->fetchView() called at [lib/internal/Magento/Framework/View/Element/Template.php:300]
#25 Magento\Framework\View\Element\Template->_toHtml() called at [lib/internal/Magento/Framework/Pricing/Render/PriceBox.php:69]
#26 Magento\Framework\Pricing\Render\PriceBox->_toHtml() called at [app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php:71]
#27 Magento\Catalog\Pricing\Render\FinalPriceBox->_toHtml() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1097]
#28 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1101]
#29 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:674]
#30 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [generated/code/Magento/Catalog/Pricing/Render/FinalPriceBox/Interceptor.php:583]
#31 Magento\Catalog\Pricing\Render\FinalPriceBox\Interceptor->toHtml() called at [lib/internal/Magento/Framework/Pricing/Render.php:97]
#32 Magento\Framework\Pricing\Render->render() called at [app/code/Magento/Catalog/Block/Product/ListProduct.php:398]
#33 Magento\Catalog\Block\Product\ListProduct->getProductPrice() called at [generated/code/Magento/Catalog/Block/Product/ListProduct/Interceptor.php:180]
#34 Magento\Catalog\Block\Product\ListProduct\Interceptor->getProductPrice() called at [app/code/Magento/Catalog/view/frontend/templates/product/list.phtml:72]
#35 include() called at [lib/internal/Magento/Framework/View/TemplateEngine/Php.php:59]
#36 Magento\Framework\View\TemplateEngine\Php->render() called at [lib/internal/Magento/Framework/View/Element/Template.php:270]
#37 Magento\Framework\View\Element\Template->fetchView() called at [generated/code/Magento/Catalog/Block/Product/ListProduct/Interceptor.php:557]
#38 Magento\Catalog\Block\Product\ListProduct\Interceptor->fetchView() called at [lib/internal/Magento/Framework/View/Element/Template.php:300]
#39 Magento\Framework\View\Element\Template->_toHtml() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1097]
#40 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1101]
#41 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:674]
#42 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [generated/code/Magento/Catalog/Block/Product/ListProduct/Interceptor.php:882]
#43 Magento\Catalog\Block\Product\ListProduct\Interceptor->toHtml() called at [lib/internal/Magento/Framework/View/Layout.php:557]
#44 Magento\Framework\View\Layout->_renderBlock() called at [lib/internal/Magento/Framework/View/Layout.php:533]
#45 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#46 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#47 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#48 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:521]
#49 Magento\Framework\View\Element\AbstractBlock->getChildHtml() called at [app/code/Magento/Catalog/Block/Category/View.php:100]
#50 Magento\Catalog\Block\Category\View->getProductListHtml() called at [app/code/Magento/Catalog/view/frontend/templates/category/products.phtml:18]
#51 include() called at [lib/internal/Magento/Framework/View/TemplateEngine/Php.php:59]
#52 Magento\Framework\View\TemplateEngine\Php->render() called at [lib/internal/Magento/Framework/View/Element/Template.php:270]
#53 Magento\Framework\View\Element\Template->fetchView() called at [lib/internal/Magento/Framework/View/Element/Template.php:300]
#54 Magento\Framework\View\Element\Template->_toHtml() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1097]
#55 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1101]
#56 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [lib/internal/Magento/Framework/View/Element/AbstractBlock.php:674]
#57 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [lib/internal/Magento/Framework/View/Layout.php:557]
#58 Magento\Framework\View\Layout->_renderBlock() called at [lib/internal/Magento/Framework/View/Layout.php:533]
#59 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#60 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#61 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#62 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Layout.php:585]
#63 Magento\Framework\View\Layout->_renderContainer() called at [lib/internal/Magento/Framework/View/Layout.php:535]
#64 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#65 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#66 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#67 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Layout.php:585]
#68 Magento\Framework\View\Layout->_renderContainer() called at [lib/internal/Magento/Framework/View/Layout.php:535]
#69 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#70 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#71 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#72 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Layout.php:585]
#73 Magento\Framework\View\Layout->_renderContainer() called at [lib/internal/Magento/Framework/View/Layout.php:535]
#74 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#75 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#76 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#77 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Layout.php:585]
#78 Magento\Framework\View\Layout->_renderContainer() called at [lib/internal/Magento/Framework/View/Layout.php:535]
#79 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#80 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#81 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#82 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Layout.php:585]
#83 Magento\Framework\View\Layout->_renderContainer() called at [lib/internal/Magento/Framework/View/Layout.php:535]
#84 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#85 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#86 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#87 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Layout.php:585]
#88 Magento\Framework\View\Layout->_renderContainer() called at [lib/internal/Magento/Framework/View/Layout.php:535]
#89 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#90 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [lib/internal/Magento/Framework/View/Layout.php:488]
#91 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#92 Magento\Framework\View\Layout\Interceptor->renderElement() called at [lib/internal/Magento/Framework/View/Layout.php:954]
#93 Magento\Framework\View\Layout->getOutput() called at [lib/internal/Magento/Framework/Interception/Interceptor.php:58]
#94 Magento\Framework\View\Layout\Interceptor->___callParent() called at https://github.com/magento/magento2/pull/22197[lib/internal/Magento/Framework/Interception/Interceptor.php:138]
#95 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception{closure}() called at [lib/internal/Magento/Framework/Interception/Interceptor.php:153]
#96 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:494]
#97 Magento\Framework\View\Layout\Interceptor->getOutput() called at [lib/internal/Magento/Framework/View/Result/Page.php:257]
#98 Magento\Framework\View\Result\Page->render() called at [lib/internal/Magento/Framework/View/Result/Layout.php:170]
#99 Magento\Framework\View\Result\Layout->renderResult() called at [lib/internal/Magento/Framework/Interception/Interceptor.php:58]
#100 Magento\Framework\View\Result\Page\Interceptor->___callParent() called at [lib/internal/Magento/Framework/Interception/Interceptor.php:138]
#101 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception{closure}() called at [lib/internal/Magento/Framework/Interception/Interceptor.php:153]
#102 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:130]
#103 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [lib/internal/Magento/Framework/App/Http.php:140]
#104 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#105 Magento\Framework\App\Http\Interceptor->launch() called at [lib/internal/Magento/Framework/App/Bootstrap.php:260]
#106 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]
Observations
Module Magento_Msrp doesn't work with both modules Magento_MsrpConfigurableProduct and Magento_MsrpGroupedProduct disabled
Module Magento_Msrp is supposed to receive the arguments from Magento_MsrpConfigurableProduct or Magento_MsrpGroupedProduct according to:
app/code/Magento/MsrpConfigurableProduct/etc/di.xml
app/code/Magento/MsrpGroupedProduct/etc/di.xml
Pull request (possible solution)
#22197
The text was updated successfully, but these errors were encountered: