Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ProductRepository::prepareSku() must be of the type string, null given, called in /home/majorsurplus/public_html/vendor/magento/module-catalog/Model/ProductRepository.php on line 776 and defined in /home/majorsurplus/public_html/vendor/magento/module-catalog/Model/ProductRepository.php:786
Stack trace:
#0 /home/majorsurplus/public_html/vendor/magento/module-catalog/Model/ProductRepository.php(776): Magento\Catalog\Model\ProductRepository->prepareSku(NULL)
#1 /home/majorsurplus/public_html/vendor/magento/module-catalog/Model/ProductRepository.php(349): Magento\Catalog\Model\ProductRepository->saveProductInLocalCache(Object(Magento\Catalog\Model\Product\Interceptor), 'adf0bb68589672e...')
#2 /home/majorsurplus/public_html/vendor/magento/module-catalog/Model/ProductRepository.php(314): Magento\Catalog\Model\ProductRepository->cacheProduct('adf0bb68589672e...', Object(Magento\Catalog\Model\Product\Interceptor))
#3 /home/majorsurplus/public_html/genera in /home/majorsurplus/public_html/vendor/magento/module-catalog/Model/ProductRepository.php on line 786