This thread is resolved. Here is a description of the problem and solution.
Problem:
Avada containers lose their translations when using WordPress editor to translate the Library (Global) Elements.
Solution:
This is a known issue, please see https://wpml.org/errata/avada-library-element-type-not-copied-during-manual-translation/ for possible solutions.
Relevant Documentation:
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.
Tagged: Bug, Known issue
This topic contains 9 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 year, 7 months ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
November 3, 2023 at 12:36 pm #14725739 | |
Wendy Vanhonacker |
My website is by default in english and using Avada theme. I would like to use manual translation instead of advanced or classic editor. I have the latest version of all, wordpress, theme anbd plugins. |
November 3, 2023 at 1:06 pm #14725843 | |
Wendy Vanhonacker |
Just for your information the debug log says this whenever this happens: [03-Nov-2023 13:04:29 UTC] PHP Warning: Undefined array key 0 in /home/heylifeo/www/heylifeo.myhostpoint.ch/fitntasty2023/wp-content/plugins/fusion-builder/inc/templates/blank-page.php on line 31 |
November 6, 2023 at 7:58 am #14735185 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hello Wendy, Thank you for contacting the support. Before proceeding further, may I ask you to try the following? IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised. - Deactivate all plugins except WPML and Avada builder (fusion builder) and check for the issue. Please let me know and I'll try my best to further help you on the matter. Regards. |
November 6, 2023 at 8:30 am #14735397 | |
Wendy Vanhonacker |
Yes I just did this: I cannot test without the Avada theme as this is the theme that has this Library functionality to create Elements and this is where it bugs. They way I proceed is: Its clearly related to Avada, but something does not work with WPML. |
November 6, 2023 at 8:33 am #14735427 | |
Wendy Vanhonacker |
And with this logs, it mentions 'slug', but for a created element in Avada, there is not slug.. maybe this is the issue? |
November 6, 2023 at 8:52 am #14735673 | |
Wendy Vanhonacker |
And I can give you access to my website as it is a test environement. How do I share this? |
November 6, 2023 at 9:10 am #14735827 | |
Wendy Vanhonacker |
FYI, using the advanced editor, it works, but I would like to still be able to use the manualy wordpress editor. |
November 6, 2023 at 12:03 pm #14737357 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Yes please provide temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated. Your next answer will be private, to share this information safely. Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend. IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also. See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security. |
November 6, 2023 at 12:55 pm #14737907 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. I'll check this as soon as possible and 'll update you accordingly (probably by tomorrow at earliest). |
November 7, 2023 at 8:29 am #14744251 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience and cooperation. This issue is already known and has been reported. Our team offered a temporary fix at https://wpml.org/errata/avada-library-element-type-not-copied-during-manual-translation/. Generally the issue isn't with the default language, but only the first one works fine regardless of the language you used to create it. While, adding other translations manually for that have the problem. I tried the Option 1 and it is working fine, see this screen recording: hidden link I couldn't try Option 2 as I didn't have permission to save the theme's functions.php file. So you can try that yourself if you think this alternate option is better than the first 1. For Option 1 to work correctly, follow these exact steps: - Create a new global container element in default language and save. I've tried this a few times and it seems to work perfectly fine. |
November 7, 2023 at 8:46 am #14744617 | |
Wendy Vanhonacker |
Thanks! indeed the option1 works. |