I have upgraded Magento with Latest version 2.2.4 and trying to place order.It produce below exception error
[2018-06-26 12:40:50] main.CRITICAL: Notice: Undefined index: product_id in /var/www/html/magento2/vendor/magento/module-catalog-inventory/Model/StockManagement.php on line 103 {"exception":"[object] (Exception(code: 0): Notice: Undefined index: product_id in /var/www/html/magento2/vendor/magento/module-catalog-inventory/Model/StockManagement.php on line 103 at /var/www/html/magento2/vendor/magento/framework/App/ErrorHandler.php:61)"} []
I have checked in file and found that array variable is producing error
$productId = $lockedItemRecord['product_id'];
I have tried and changed this with Hard coded then it is working fine.I am not getting what is the issue in this code.
$productId = "395";
I have already compiled all code and tested in both mode developer and production.
Please support me to resolve this issue.