Imported from the Apple Support Forums via the Wayback Machine 🔗
If Shared albums are missing from your Photos Library, it sometimes helps to
disable the System Preferences > iCloud > Photos: Options: Shared Albums,
Then restart the Mac
Enable the System Preferences > iCloud > Photos: Options: Shared Albums,
Enable Photos > Preferences > iCloud > Shared Albums again
Wait, while the Mac is powered and connected to the internet
Just a caution - disabling Shared Albums temporarily can cause all photos from Shared albums to vanish, if the person, who shared the albums, has removed them from iCloud. So import all photos from the shared albums, that you want to keep, to your Photos Library, before you disable Shared Albums.