get method with different SKUsAfter some calls:
PHP Notice: Undefined offset: <SKU_STRING_XYZ> in /vendor/magento/module-catalog/Model/ProductRepository.php on line 254
Seems like the problem is in the following:
cacheProduct method is called for each found item.cacheLimit field is set (1000 by default) and number if cached items exceeds this limit, then cache array is sliced by a half.@dankocherga, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.3.0-dev, 2.1.10, 2.2.1
@dankocherga I believe this was fixed in https://github.com/magento/magento2/commit/3b50751687f873a645b914194228e0006fa1cb1b which will be released in 2.2.2.
Most helpful comment
@dankocherga I believe this was fixed in https://github.com/magento/magento2/commit/3b50751687f873a645b914194228e0006fa1cb1b which will be released in 2.2.2.