This thread is resolved. Here is a description of the problem and solution.
Problem:
Beaver Builder - Saved Modules in other languages (not the default language) can not be saved after creation.
Solution:
This issue is fixed with the latest versions of Beaver Builder and WPML.
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.
This topic contains 39 replies, has 3 voices.
Last updated by Itamar 4 years, 5 months ago.
Assisted by: Itamar.
Author | Posts |
---|---|
May 20, 2020 at 4:28 pm #6179619 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi. Our third-tier supporter has debugged this issue and found out the cause of it. He explains it like so: 1. 2. In the table, wp_term_relationships make sure that all terms assigned to term with id 1013 are assigned to term id 5. SELECT * FROM `wp_term_relationships` WHERE `term_taxonomy_id` = '1013' You should get 9 rows. Please see the attached screenshot select-1013.jpg. UPDATE `wp_term_relationships` SET `term_taxonomy_id` = '5' WHERE `term_taxonomy_id` = '1013'; Then those 9 rows will be changed. Please see the attached screenshot update-1013-to-5.jpg. 3. Then remove the entries in terms table: DELETE FROM `wp_terms` WHERE `term_id` = '1013'; 4. And lastly remove the entry in wp_icl_translations table for both terms: DELETE FROM `wp_icl_translations` WHERE `element_type` = 'tax_fl-builder-template-type';
Can you please try it on your site as well and tell me if it is ok? WPML does not set the fl-builder-template-type taxonomy type to be translatable, it's not translatable by default. We suspect it was manually changed (probably accidentally) on your site. Nevertheless, the issue is being checked by our developers if anything can be done on our side to prevent such cases from happening in the past. I'll keep you updated on this when I have news from our developers. Regards, |
May 20, 2020 at 5:41 pm #6180123 | |
danielaS-13 |
Hi, Same happening on one of my sites. Have you found a solution to this? I've translated the row with the Advanced Translation Editor, but it doesn't show up on the front end as a saved BB row. Have also tried all the troubleshooting tips you showed in a previous ticket. And I have created the row within the page, saved it, it shows up when I save it, but when I refresh it has disappeared. Any updates on this issue would be appreciated! Thanks, |
May 20, 2020 at 8:07 pm #6181039 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, Daniela. I'm not sure which troubleshooting tips you tried. Have you seen my reply from earlier today here? |
May 21, 2020 at 6:43 pm #6189397 | |
emmanuelS-7 |
Hi Itamar, Great, thanks for the in-depth troubleshooting! I successfully edited my database as recommended in your detailed instructions and, miracle, recovered the BB saved items of the second language in BB editing interface, hurray! Just a small detail i had to modify, in the last SQL command, at point 4, tax_fl-builder-template-type has to be surrounded by straight single quotes instead of tilted quotes. This is the commands that works: DELETE FROM `wp_icl_translations` WHERE `element_type` = 'tax_fl-builder-template-type'; However, i applied this fix on a local copy of my site, just in case, now i have to do it on the live site… without having access to PHPMyAdmin, i have to find another way. Thanks a lot for your help! Emmanuel |
May 21, 2020 at 7:35 pm #6189833 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi. Great! I'm glad that the fix worked for you. I'm sorry for the single quotes glitch. Thanks for pointing this out to me. I've fixed it in my reply. To get access to the DB of your site you can use the PHPMyAdmin plugin for WordPress. The issue is now escalated to our developers. Best Regards, |
May 22, 2020 at 12:25 am #6190939 | |
emmanuelS-7 |
Itamar, I finally found an access to PHP MyAdmin on the live site server, thanks for the info about the PHPMyAdmin WP plugin anyway, very helpful. So, i applied the DB modifications and the second language BB Saved items showed up in BB panel. 1 - In BB layout edit mode (second lang EN): when dropping saved modules in the layout, their content displayed doesn't reflect their real content, it seems to come from another saved module. 2 - In Admin > BB > Saved modules (main lang FR): edit an already translated module like Sidebar : Contact général by clicking the pen icon and you'll see that BB module's fields are now missing in WPML Translation Manager, so it's impossible to modify them. Best regards |
May 22, 2020 at 1:12 am #6191135 | |
emmanuelS-7 |
If useful, screenshots of my WPML settings for BB: 1 - Admin > WPML > Settings > Taxonomy Translation (fl-builder-template-category and fl-builder-template-type) 2 - Admin > Post Edit > Multilingual Content Configuration |
May 22, 2020 at 5:24 am #6192457 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi and thanks for the extra details. fl-builder-template-type should not be set to translatable. Please set it to Regards, |
May 22, 2020 at 9:22 am #6193683 | |
emmanuelS-7 |
Hi Itamar, Yes, fl-builder-template-type is set as Not translatable as we can see on my first screenshot. Please, would you try to push the investigations a little further on the test site you provided, by comparing a saved module content displayed when we drop it in the layout from BB panel in BB Edit mode, and its content once opened for editing in BB? Then my second point when trying to modify a FR saved module's EN translation with WPML Translation Manager (try an old module, for instance the one i pointed to above). Thanks |
May 24, 2020 at 10:02 am #6203569 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi. 1. I can see the problem that you are talking about. Nevertheless, the 'Test 3 -EN' page is the translation of Test 3 (French page). If you will try to edit this page in the WordPress editor you'll see a notice about it. Please see the attached screenshot test. Therefore, you should only edit it with WPML's Translation Editor. Trying to edit it with the Beaver Builder editor can cause problems. It is important to keep following the translation procedure as specified in our documentation here. 2. It seems that the 'Contact général' French module was not published or updated. After I had published it, everything works as expected. The text is showing for translation in WPML's Translation Editor. Please see the attached screenshot fr-module-ok.jpg. To make sure that everything is working correctly, I tested the Beaver Builder Saved Modules on a fresh WordPress installation. And I can see that everything is working as expected in regards to the Saved Modules. If you think that something is not working as expected, please try to replicate it on the test site I created. If you are able to replicate it there then explain the steps to replicate it. Please add some screenshots. You can access the test site here. hidden link Thanks, |
May 27, 2020 at 2:53 pm #6230483 | |
emmanuelS-7 |
Hi Itamar, Thanks a lot for your details. Emmanuel |
May 28, 2020 at 10:48 pm #6244109 | |
emmanuelS-7 |
Hi Itamar, Sorry for the delay, now i have a bit of time to go further in our investigations. 1 - I understand that you suggest me to only use WPML Translation manager to edit EN pages (second lang), am i correct? If so, i must remind you the goal of translating BB modules in the second language: some EN pages have a different structure and number of BB modules compared to their FR version (main lang). Hence they cannot be translated in the Translation manager and must be edited in BB, to add EN specific modules to the layout. That's where there's still a problem:
So i guess there's a problem in the DB linkage or something… 2 - Right, the FR module has to be modified and saved in its WP Edit page, then updating its EN translated version forces the fields to appear in WPML Translation manager, it works for me too (same old WPML trick to force things to get in order… a bit laborious though). Best regards |
May 28, 2020 at 11:02 pm #6244187 | |
emmanuelS-7 |
Itamar, I made another test by saving a FR new module and translating it in EN with WPML Translation manager (named Test module 1 FR / Test module 1 EN). This new module works as expected: when i drop it in an EN page layout, its content shows up fine and its type is properly detected by BB (screenshot 4). That's a good news for new saved modules, but it means that old saved modules still have a problem (linkage in the DB?). I hardly can consider rebuilding these old modules, many are global, all their occurrences in the site would disappear. Emmanuel |
May 31, 2020 at 2:22 pm #6260483 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi. When I try to add an old saved module, it works for me. Regards, |
May 31, 2020 at 4:45 pm #6261009 | |
emmanuelS-7 |
Hi Itamar, Thanks for having tried. Some "old" saved modules work for me too, and some don't (probably the oldest). Regards |