Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with a site built using Kadence and Beaver Builder, where the translation lost text formatting, resulting in a block of text instead of paragraphs. Additionally, the mobile CTA button from Kadence Conversions is displayed on all screen sizes, not just on mobile, and editing the French Conversion version causes a 500 Internal Server error.
Solution:
For the issue of lost text formatting, we recommend disabling the option "I prefer bigger segments" in the Advanced Translation Editor as it might be causing the line breaks to be ignored. You can find more details and workarounds on this issue at https://wpml.org/errata/line-breaks-are-ignored-when-using-the-advanced-translation-edior/.
Regarding the mobile CTA button displaying on all screen sizes, please ensure that Kadence Conversions is compatible with WPML and check any specific settings within Kadence Conversions that might be affecting visibility across different devices.

If these solutions do not resolve your issues or if the information provided becomes outdated, 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. Should you need further assistance, please do not hesitate to 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.

This topic contains 8 replies, has 2 voices.

Last updated by Marcel 2 months, 3 weeks ago.

Assisted by: Marcel.

Author Posts
September 20, 2024 at 9:02 am #16201675

lidijaH

Background of the issue:
I have a client site built with Kadence and Beaver Builder. WPML translation editor is set to Advanced Translation Editor. I made changes to the previously translated homepage both in layout and text. I am using Kadence Conversions to display a mobile CTA button at the bottom of the screen.

Symptoms:
The translation lost some of the text formatting, resulting in a block of text instead of paragraphs. On the French site, the mobile CTA button is displayed on all screen sizes and not just mobile. When I try to edit the French Conversion version using the WP editor, I get a 500 Internal Server error.

Questions:
How can I rectify the issue where the translation lost some of the text formatting, resulting in a block of text instead of paragraphs?
Is Kadence Conversions compatible with WPML, and how can I fix the issue where the mobile CTA button is displayed on all screen sizes on the French site?

September 20, 2024 at 2:33 pm #16203412

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

Kadence Conversions has not yet been officially certified for use with WPML. As a result, we can't guarantee full compatibility at this time: https://wpml.org/plugin/?wpv_view_count=120064&wpv-plugin-functionality=0&wpv_post_search=kadence&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search.

To help us investigate further, please provide the WordPress debug.log (not WPML debug information). To enable it, open your wp-config.php file and find this line:

define('WP_DEBUG', false);

. Replace it with the following:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true); 

This will save errors to a debug.log file located in the /wp-content/ directory. Please share any fatal errors you find in that log in your next reply so we can pinpoint the exact issue.

For further reference, you can check the WordPress debugging documentation here: https://codex.wordpress.org/Debugging_in_WordPress.

Best regards,
Marcel

September 23, 2024 at 4:45 pm #16211051

lidijaH

Here is the error log:
[22-Sep-2024 00:51:52 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 97830560 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 64
[22-Sep-2024 00:51:56 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 91377664 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 80
[22-Sep-2024 00:52:39 UTC] Cron unschedule event error for hook: googlesitekit_cron_synchronize_ads_linked_data, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":false,"args":[]}
[22-Sep-2024 02:11:44 UTC] Automatic updates starting...
[22-Sep-2024 02:11:48 UTC] Automatic updates complete.
[22-Sep-2024 14:11:04 UTC] Automatic updates starting...
[22-Sep-2024 14:11:09 UTC] Automatic updates complete.
[22-Sep-2024 16:30:58 UTC] Automatic updates starting...
[22-Sep-2024 16:31:02 UTC] Automatic updates complete.
[23-Sep-2024 00:52:34 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 97830560 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 64
[23-Sep-2024 00:52:37 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 91377664 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 80
[23-Sep-2024 00:53:29 UTC] Cron unschedule event error for hook: googlesitekit_cron_synchronize_ads_linked_data, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":false,"args":[]}
[23-Sep-2024 02:09:43 UTC] Automatic updates starting...
[23-Sep-2024 02:09:43 UTC] Automatic updates complete.
[23-Sep-2024 09:15:02 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 98302320 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 64
[23-Sep-2024 09:15:05 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 91377664 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 80
[23-Sep-2024 09:38:27 UTC] PHP Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wp-seo-multilingual/classes/class-wpml-wpseo-filters.php on line 131
[23-Sep-2024 14:11:18 UTC] Automatic updates starting...
[23-Sep-2024 14:11:21 UTC] Automatic updates complete.
[23-Sep-2024 16:14:57 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 98303448 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 64
[23-Sep-2024 16:15:00 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 91377664 bytes) in /home/catheri7/www/onlinecancercoach.com/wp-content/plugins/wpremote/callback/streams.php on line 80
[23-Sep-2024 16:31:54 UTC] Automatic updates starting...
[23-Sep-2024 16:31:57 UTC] Automatic updates complete.

Please also advise on how I can rectify the issue where the translation lost some of the text formatting, resulting in a block of text instead of paragraphs? This is visible on the About section of the homepage.

September 23, 2024 at 4:56 pm #16211077

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Thank You!

The Fatal Errors are related to the plugin "wpremote". Does it also happen if this plugin is after a backup is temporarily deactivated?

Best Regards,
Marcel

September 23, 2024 at 7:05 pm #16211523

lidijaH

Honestly, I doubt that WPRemote has something to do with translated text not being formatted. I deactivated it now, re-saved the translation and the text is still a book of text in French rather than 3 paragraphs.

As for Kadence Conversions, I think it is not fully compatible with WPML, the conversion content is translated but the settings like Device Display do not follow from the original to the translated conversion.

Please provide further suggestions on how I can fix translated text formatting. Thanks.

WPML3.png
September 24, 2024 at 12:57 pm #16215020

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

I didn’t claim it was directly related to the translation itself. However, Fatal Errors can interrupt runtime, which may indeed impact the translation process by causing code to be halted. That’s why I’m asking you to perform this test.

I also recommend reaching out to the Kadence team. Ask them to submit Kadence Conversions for certification here: https://wpml.org/documentation/support/go-global-program/. Other Kadence products are already certified, so they are familiar with our process: https://wpml.org/developer/kadence-themes/.

Please install Kadence Conversions in hidden link">this isolated Sandbox environment to see if the issue can be reproduced. If it can, we can explore whether a temporary workaround is possible. However, a complete compatibility solution would depend on the plugin authors.

Best regards,
Marcel

September 24, 2024 at 1:16 pm #16215118

lidijaH

It seems there may have been a misunderstanding. The issue with Kadence Conversions has already been resolved.

My current concern is about the simple text output. On the translated page built with Beaver Builder, the text is displaying without basic formatting. Could you assist with this or suggest someone who might be able to help? Please see the screenshot in my previous message.

September 24, 2024 at 3:28 pm #16216095

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Sorry for the confusion! Sorry for the confusion! Sure, let's first look at that specific page to compare the page builder settings to ensure all styling was copied.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Best Regards,
Marcel

September 25, 2024 at 4:46 pm #16221953

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Thank you for the access. Beaver Builder include regular line breaks without HTML tags (like you would have them in a text editor or Word). In the Translation Editor, you have the option "I prefer bigger segments" activated.

Please try one of the 2 workarounds mentioned on https://wpml.org/errata/line-breaks-are-ignored-when-using-the-advanced-translation-edior/. Can you confirm this works for you?

Best Regards,
Marcel

September 25, 2024 at 7:26 pm #16222363

lidijaH

It worked! Thank you very much, Marcel