This thread is resolved. Here is a description of the problem and solution.
Problem: The 'Table of Contents' widget from a third-party plugin is removed from the alternate language page every time automatic translation is updated. Solution: If you're experiencing this issue, we recommend using the Block Editor for editing your posts. You can enable this by navigating to the admin area, then to Settings > Page Builder > General, and unchecking the 'Use Classic Editor for New Posts' option. For posts currently using the Classic Editor, please follow the steps provided by SiteOrigin support to convert them to Block Editor. You can find the guide here: Converting to Blocks.
Please note that this solution might be irrelevant if it's 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 issue persists, please open a new support ticket at WPML Support Forum.
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.
It is about the "Table of Content" widget. It gets removed from the alternate language page every time automatic translation is updated. Sometimes, automatic translation runs even if I don't update the page. Then, the table of contents widget disappeared on its own without my knowledge.
It is getting frustrating. How can I prevent this issue and make it appear on both language pages after running automatic translation?
Thank you for reaching out to WPML support. While you're waiting for one of my colleagues to handle this ticket, let me offer you some initial debugging steps to assist with the issue promptly.
It could be a compatibility issue between WPML, SiteOrigin builder and LuckyWP Table of Contents. In order to escalate the issue, please help us replicate the issue on a clean installation of WordPress. You can access the admin area directly with this link hidden link
Kindly follow the steps below:
- Don’t restore your site there.
- Install SiteOrigin and LuckyWP Table of Contents plugins.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to replicate it.
Those widgets (button & image) actually come from the "SiteOrigin Widgets Bundle" plugin, a sub-plugin of "SiteOrigin Page Builder.".
Now, I've setup a post on the sandbox site. You'll need to enable automatic translation for this issue to replicate. This is not a new issue and you are the same person on the post I am referring. So, I assume you know how to replicate the issue.
I can replicate the issue on the sandbox site. I've escalated this issue to our Compatibility team and I will update you here when I have something to share.
I got some information from our 2nd tier support. The widget "Table of Contents" works if you use the Block Editor when editing the post.
We suggest you go to admin area > Settings > Page Builder > General > Uncheck the "Use Classic Editor for New Posts" option.
It "looks" broken but still works properly in the frontend and admin area. You can also add other content to the post and save changes.
Even if you deactivate the WPML plugin on your site, it still works like that with the Block editor.
You can test this on the sandbox site that I shared above hidden link