Hello,
I am experiencing an issue using the builder when creating pages in English.
Historically, the site has used www. and en. and has been functioning with WPML for over 10 years.
Regarding the .htaccess file and server settings (SOP/CORS, etc.), everything was functional until the introduction of the new theme with the td-composer builder.
Here is the first error that blocks the entire builder:
Uncaught SecurityError: Failed to read a named property 'tdcSidebar' from 'Window': Blocked a frame with origin "https://en.foobar.com" from accessing a cross-origin frame.
at Object.resize (tagdiv_theme.min.js?ver=12.6.6:227:443)
at tagdiv_theme.min.js?ver=12.6.6:230:134
at dispatch (jquery.min.js?ver=3.7.1:2:40035)
at jquery.min.js?ver=3.7.1:2:38006
I am in a difficult situation because, while trying to find a solution, I am compromising the security settings that were previously working fine.
Have you encountered this problem before? How can it be resolved?
Did you implement additional security measures in the plugin that are preventing all my attempts from working?
Thank you for your assistance.
Best regards,
Yohann
Hello,
This issue is strange. I don’t think that this issue is related to the WPML plugin.
Also, what version of WordPress, theme, WPML, and PHP do you have?
You can check our documentation here https://forum.tagdiv.com/using-theme-translations-together-wpml/
You need to translate the English (original language) the template for each language in part – https://i.imgur.com/CDmeHCf.png you should have them for each language cloud template – https://i.imgur.com/4agmUtg.png
A much simpler and faster alternative is to duplicate the cloud template you want to use in another language, edit it and select the desired language – https://i.imgur.com/z1CqgBo.png (edit the name) – https://i.imgur.com/dPX8ROs.png – https://i.imgur.com/Lc81IgP.png This method needs to be used to translate all cloud templates.
The pages are created with tagDiv Composer which is a page builder, when WPML is used it cannot translate everything that was built with the page builder and must be edited for each language separately. Please open the page in the editor and click on translate – https://i.imgur.com/TXH6y1c.png. After, if you duplicate the template, you can edit it to change the logo, menu, and whatever you want.
When you make the corrections, make sure you are on the page with the language you are editing, and if you use the cache, or object cache, please clear it.
Please check this topic https://forum.tagdiv.com/topic/missing-strings-on-wpml/
Thank you!