We have a solution for this. Kindly follow the instructions below.
There is an image hidden link that does not exist in French (original language) while WPML has the media ID in icl_translation table due to this many records of this image are created in DB approx 46712.
When you update the page WPML tries to duplicate media records but gets stuck into a loop which leads to a timeout error.
Fix
First, we need to clear the records created by WPML for that image. For this, we will run a query that will delete media entries except the original entry and its translation.
DELETE FROM `wp_posts` WHERE `guid` = '<em><u>hidden link</u></em>' AND ID NOT IN (77916, 50939, 87665, 88064, 88070)
Then go to WPML > Supprt > Troubleshooting and run "Remove ghost entries from the translation tables" then "Set language information"
Then go to WPML > Settings > Media translation and click start to duplicate the media files and featured images.
Once the process is done, try to update the page it should be working.
The topic ‘[Closed] Cannot complete translation’ is closed to new replies.