What device? YouTube works fine with Android 8, so it's either your particular manufacturers' version or, more likely, your particular device (some quirk of the data on that particular phone that the update didn't like).
Have you tried uninstalling and reinstalling the app (or, if it was pre-installed, uninstalling updates)? Or clear data for the app?