I am installing magento in clean database but it throws an error
In StoreRepository.php line 112:
The store that was requested wasn't found. Verify the store and try again.
where can be the problem ? I debugged file and on line 112
if ($store->getId() === null) {
throw new NoSuchEntityException(
__("The store ID ({$id}) that was requested wasn't found. Verify the store and try again.")
);
}
$store->getId is returned as null.