WhatsApp has released a new stable update, version 23.5.78, for iOS users that addresses a major bug related to restoring chat history from an iCloud backup. The bug caused the app to report a lack of internet connection even when it was available, preventing users from restoring backups regardless of whether they were end-to-end encrypted or not. While the official changelog does not mention the bug, the update includes a fix that allows users to restore their chat history without any issues. If you have experienced this problem, it is recommended that you update WhatsApp to the latest version available on the App Store.
Read more here