From 9to5google:
We’ve observed the problem on Spotify v8.8.60 on both Pixel Fold and Galaxy Z Fold 5. That version is currently in the beta track, and it’s not happening on a Pixel 7 we tested using v8.8.58, so most users should be safe.
Just go to the Play Store and leave the beta if it’s crashing for you.
Or wait until stable version has higher version number than beta and it should updated automatically.