Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ProductRepository::getProductFromLocalCache() must be of the type string, null given, called in /var/www/magento/connectionretail.co.uk/vendor/magento/module-catalog/Model/ProductRepository.php on line 270 and defined in /var/www/magento/connectionretail.co.uk/vendor/magento/module-catalog/Model/ProductRepository.php:748 Stack trace: #0 /var/www/magento/connectionretail.co.uk/vendor/magento/module-catalog/Model/ProductRepository.php(270): Magento\Catalog\Model\ProductRepository->getProductFromLocalCache(NULL, 'adf0bb68589672e...') #1 /var/www/magento/connectionretail.co.uk/generated/code/Magento/Catalog/Model/ProductRepository/Interceptor.php(24): Magento\Catalog\Model\ProductRepository->get(NULL, false, NULL, false) #2 /var/www/magento/connectionretail.co.uk/app/code/Connection/Warehouse/Controller/Catalog/Product/Api/Unit/Simple/HasEnoughStock.php(67): Magento\Catalog\Model\ProductRepository\Interceptor->get(NULL) #3 /var/www/magento/connectionr in /var/www/magento/connectionretail.co.uk/vendor/magento/module-catalog/Model/ProductRepository.php on line 748