Issue:


We using Magento 2 Configurable Product Grid Table View version 1.2.7 on our site M2.2.2 and then it's throwing error.

Error: Cannot instantiate interface magento/InventorySalesApi/Api/StockResolverInterface in vendor/magento/framwork/objectManager/Factory/AbstractFactory.php: 121

Please have a look. 


Solution:


The root of the issue is that our module has the code part which works with Inventory.

However, the Inventory does just work on Magento 2.3.x and above.

Thus, our module is not compatible with Magento 2.2.x at this time.

We have given the solution to make our module work on Magento 2.2.x as below.


Step 1: Edit two files => please check the attachments for details code

app/code/Bss/ConfiguableGridView/Helper/DataProcessor.php

app/code/Bss/ConfiguableGridView/Helper/HelperClass.php


Step 2: Replace the fixed files


Step 3: Flush the cache.


Please follow our guide to solve the issue.


If you have any issues, please feel free to contact uss.

We are always willing to support you.