TypeError: Argument 1 passed to Magento\InventoryConfiguration\Model\IsSourceItemManagementAllowedForProductType\Interceptor::execute() must be of the type string, null given, called in /var/www/clients/client1/web4/web/magento2/vendor/magento/module-inventory-sales/Model/GetProductSalableQty.php on line 108 and defined in /var/www/clients/client1/web4/web/magento2/generated/code/Magento/InventoryConfiguration/Model/IsSourceItemManagementAllowedForProductType/Interceptor.php:20 Stack trace: #0 /var/www/clients/client1/web4/web/magento2/vendor/magento/module-inventory-sales/Model/GetProductSalableQty.php(108): Magento\InventoryConfiguration\Model\IsSourceItemManagementAllowedForProductType\Interceptor->execute() #1 /var/www/clients/client1/web4/web/magento2/vendor/magento/module-inventory-sales/Model/GetProductSalableQty.php(75): Magento\InventorySales\Model\GetProductSalableQty->validateProductType() #2 /var/www/clients/client1/web4/web/magento2/vendor/magento/module-inventory-sales-frontend-ui/Plugin/Block/Stockqty/AbstractStockqtyPlugin.php(90): Magento\InventorySales\Model\GetProductSalableQty->execute() #3 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(135): Magento\InventorySalesFrontendUi\Plugin\Block\Stockqty\AbstractStockqtyPlugin->aroundIsMsgVisible() #4 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\CatalogInventory\Block\Stockqty\DefaultStockqty\Interceptor->Magento\Framework\Interception\{closure}() #5 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty/Interceptor.php(77): Magento\CatalogInventory\Block\Stockqty\DefaultStockqty\Interceptor->___callPlugins() #6 /var/www/clients/client1/web4/web/magento2/vendor/magento/module-catalog-inventory/Block/Stockqty/DefaultStockqty.php(28): Magento\CatalogInventory\Block\Stockqty\DefaultStockqty\Interceptor->isMsgVisible() #7 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\CatalogInventory\Block\Stockqty\DefaultStockqty->_toHtml() #8 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #9 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #10 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty/Interceptor.php(374): Magento\Framework\View\Element\AbstractBlock->toHtml() #11 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(578): Magento\CatalogInventory\Block\Stockqty\DefaultStockqty\Interceptor->toHtml() #12 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock() #13 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #14 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #15 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #16 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #17 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #18 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #19 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #20 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #21 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #22 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #23 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #24 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #25 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #26 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #27 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #28 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #29 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #30 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #31 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #32 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #33 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #34 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #35 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #36 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #37 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #38 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #39 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #40 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #41 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #42 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #43 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #44 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #45 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #46 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #47 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #48 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #49 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #50 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #51 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #52 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #53 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #54 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #55 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #56 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #57 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #58 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #59 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #60 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #61 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #62 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #63 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #64 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #65 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #66 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #67 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #68 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #69 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #70 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #71 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout\Interceptor->renderElement() #72 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #73 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent() #74 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #75 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Layout/Interceptor.php(347): Magento\Framework\View\Layout\Interceptor->___callPlugins() #76 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #77 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render() #78 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult() #79 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent() #80 /var/www/clients/client1/web4/web/magento2/app/code/Amasty/GdprCookie/Plugin/ProcessPageResult.php(65): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #81 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(135): Amasty\GdprCookie\Plugin\ProcessPageResult->aroundRenderResult() #82 /var/www/clients/client1/web4/web/magento2/app/code/Magezon/Core/Plugin/View/Result/Layout.php(24): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #83 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(135): Magezon\Core\Plugin\View\Result\Layout->aroundRenderResult() #84 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #85 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(95): Magento\Framework\View\Result\Page\Interceptor->___callPlugins() #86 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult() #87 /var/www/clients/client1/web4/web/magento2/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch() #88 /var/www/clients/client1/web4/web/magento2/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #89 /var/www/clients/client1/web4/web/magento2/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #90 {main}