Table structure issue catalog_product_entity (sku field is allowed nulls) #32525
Labels
duplicate
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: ready for confirmation
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Projects
Preconditions
Steps to reproduce
Expected result
Actual result
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ProductRepository::prepareSku() must be of the type string, null given, called in /vendor/magento/module-catalog/Model/ProductRepository.php on line 790 and defined in /vendor/magento/module-catalog/Model/ProductRepository.php:800 Stack trace: #0 /vendor/magento/module-catalog/Model/ProductRepository.php(790): Magento\Catalog\Model\ProductRepository->prepareSku(NULL) #1 /vendor/magento/module-catalog/Model/ProductRepository.php(349): Magento\Catalog\Model\ProductRepository->saveProductInLocalCache(Object(Magento\Catalog\Model\Product\Interceptor), '3e07f167255019f...') #2 /vendor/magento/module-catalog/Model/ProductRepository.php(314): Magento\Catalog\Model\ProductRepository->cacheProduct('3e07f167255019f...', Object(Magento\Catalog\Model\Product in /vendor/magento/module-catalog/Model/ProductRepository.php on line 800
The text was updated successfully, but these errors were encountered: