This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported a critical error on their website that occurred only when WPML was active, specifically when updating, editing, or duplicating pages. Solution: We investigated the issue and found that some database tables were not installed correctly during the WPML configuration. We recommended the following steps: 1. Create a full backup of the site. 2. Temporarily disable all other plugins and switch to the WP parent theme. 3. If no translations are done then reset WPML and configure it again following the instructions. Otherwise contact WPML support so we can apply SQL code and fix your database. WPML Reset Guide. After these steps were completed on a copy of the website, the issue was resolved.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
I am experiencing a critical error on my website only when WPML is active.
The issue occurs in certain sections, particularly when editing or creating pages, while the rest of the site appears to function normally.
Could you please advise how to resolve this issue?
Actually, there are already translations present on the website.
If you check the front end, you can clearly see and access the English version.
For this reason, I would like to understand whether a full WPML reset is still necessary, considering that there are already translated and visible contents.
Thank you for getting back to me, and my apologies — I somehow missed this on my local copy.
Yes, I can try an alternative approach. Since this is a live website, please make sure you have a full backup in place and share FTP access with me in your next private reply. This will allow me to safely investigate and fix any corrupted data in the database.
I tried running the SQL command for database to resolve the issue, but it caused the server to time out. It seems that executing this query results in a server overload on your side.
Could you please check this further with your hosting support and see if they can run the SQL command directly on the database? Unfortunately, I’m unable to do so, as it causes the server to overload.
I apologize for the delay in getting back to you. I have been in contact with the hosting support regarding this issue, and I sent them an email this morning asking if they can run the SQL command directly on the database, as suggested.
At the moment, I am waiting for their response. As soon as I receive an update from them, I will let you know.
Thank you very much for your patience and support.
Thank you for your patience. I received a response from the team that manages the server. They confirmed that the database issue, which was causing slow performance, has been resolved.
They also advised that it would be best if you make the modification yourself, so you can ensure the expected outcome.
Please let me know if you need any additional information from my side.
Sorry for coming back to you, but I just noticed an issue.
The English flag button is not working correctly: when I click on it, it redirects me back to the Italian home page instead of switching to English.
Thank you again for your help, and sorry for the inconvenience.
Best regards,
Amina
New threads created by Dražen and linked to this one are listed below: