iPhone keyboard text replacements lost
I might just guess why you have this problem. iCloud Core Data was used before CloudKit and it was absolutely unreliable for syncing among your devices. Shortcuts you created on iPad did not appear to be on you iPhone. From iOS 11 I suppose they started using CloudKit that is very efficient with syncing all your data. So you could just create all your shortcuts once again knowing it should be the last time you do so