Running bin/magento indexer:reindex results in the following error:

Catalog Product Rule index has been rebuilt successfully in 00:00:00
PHP Fatal error:  Uncaught Error: Cannot instantiate interface Magento\InventorySalesApi\Api\StockResolverInterface in /var/www/vhosts/blueridge.co.uk/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121
Stack trace:
#0 /var/www/vhosts/blueridge.co.uk/htdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Invento...', Array)
#1 /var/www/vhosts/blueridge.co.uk/htdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Invento...')
#2 /var/www/vhosts/blueridge.co.uk/htdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Invento...')
#3 /var/www/vhosts/blueridge.co.uk/htdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Amasty\\Shopby\\M...')
#4 /var/www/vhosts/blueridge.co in /var/www/vhosts/blueridge.co.uk/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121

Can do with help here?

Thanks

没有正确的解决方案

其他提示

Found the offending mod as mentioned in the error message uninstalled amasty shopby, It was also causing the category pages to show blank compiled site and re-indexed and now working fine

许可以下: CC-BY-SA归因
scroll top