1. Please create a full website backup and then go to Plugins > Add new > Click the "Check for updates" button > update the WPML plugins to the latest version > and then see if the issue is still happening.
2. If it's still happening, please take a look at the solutions recommended by my colleagues in the tickets below:
There are also a good amount of existing tickets related to the same error message that also have a good amount of solutions recommended by our team - I created this custom search URL for you below so that you can find all of them: