If you are getting the following error message, when trying to save an existing product, or creating a new one:
you have to do the following.
- Review if you have a named “default” stock source on your admin. Under Stores > Inventory > Sources. If you don’t have this one, let’s create it.
- If the problem persist, try running the following commands below:
1234rm -rf generated/*php bin/magento indexer:resetphp bin/magento indexer:reindexphp bin/magento cache:clean