Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 13 replies, has 2 voices.

Last updated by Andreas W. 1 year, 2 months ago.

Assisted by: Andreas W..

Author Posts
February 8, 2024 at 1:25 pm #15281386

wernerL-4

I translated all my German pages to EN and Everything seems to work fine. Today suddenly all the EN translations are showing only the Page title without any stylings.

Screenshot 2024-02-09 185356.png
February 8, 2024 at 6:19 pm #15282772

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

In case you translated the content with the WPML Translation Editor, please take kindly note, that the Oxygen Page Builder is currently not compatible with the WPML Translation Editor.

https://wpml.org/plugin/oxygen/

You can only create the translation with the WordPress Editor in this case.

Guide:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Further, could you please increase your WP Memory limit to 256M? 128M is the minimum required by WPML.
Your current values are:

PHP Memory Limit 512M
WP Memory Limit 40M
Add this code to your wp-config.php to increase WP memory:

define('WP_MEMORY_LIMIT', '256M');

Paste it just before:

/ That's all, stop editing! Happy blogging. /

Now, verify the current settings at WPML > Support > WordPress. Then complete the translation again.

These settings can be limited directly by your hosting provider, so I recommend you contact and ask them to modify them directly.
If you can get even higher values It would be great.

https://wpml.org/home/minimum-requirements/
Note: WPML needs a minimum WP Memory limit of 128M to work only under a minimal environment, which means, with a default theme and no other plugins installed.

If this will still not solve the issue, please let me know.

Best regards
Andreas

Best regards
Andreas

February 9, 2024 at 5:02 am #15283844

wernerL-4

Hi Andreas,

Tried it but the issue still exists

February 9, 2024 at 4:32 pm #15287011

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.

If you are unable to provide such a copy of the site for testing, please let me know on this ticket.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

February 10, 2024 at 2:00 pm #15288601

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I took a local copy of your site for further investigation and will contact you as soon as I can run some tests.

February 11, 2024 at 5:18 am #15289170

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

The problem appears to be caused by the translated templates.

I see many of those were duplicates and when I try to mark them as independent translations and try to edit them inside Oxygen I do see the error, that you see on the screenshot.

Until now I was sadly not able to solve this issue.

Could you maybe install the latest version of Oxygen on a test site which I would like to provide to try to recreate the issue and escalate it internally?

Please take kindly note, that I do not work on Sundays and Mondays.

I will be glad to assist you again on Tuesday.

template EN.png
February 12, 2024 at 3:53 am #15290945

wernerL-4

Hi Andreas,

The Oxygen is already running on the New Version

February 13, 2024 at 12:10 pm #15297352

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I would like to provide a WPML test site on which we can run some tests, to try to recreate the issue, as it could be that this is a general issue that was not yet reported.

Would you be able to install Oxygen on my test site for this purpose?

February 13, 2024 at 1:38 pm #15297857

wernerL-4

Hi Andreas,

Please provide the credentials for the test site. I will install the Oxygen plugin on it

February 13, 2024 at 1:44 pm #15297865

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Thank you for your cooperation!

Here is the test site:

One-Click-Login:
hidden link

I might still need access to your site to import your pages and templates for further tests.

Please leave me a quick message on this ticket, once the plugin is installed.

February 13, 2024 at 4:49 pm #15299016

wernerL-4

Hi Andreas,

Seems the issue sorted out by the Oxygen team

This is what they sayed

"The issue was that some of the JSON in the "Mainheader - EN" template was unescaped, which caused issues with Oxygen loading correctly. We've fixed these unescaped characters in the JSON, and everything should now work.
"

February 13, 2024 at 6:31 pm #15299222

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for your message.

I mostly wonder why the issue occurred in the first place.

If this issue will occur again, then please let us know.

Best regards
Andreas

February 19, 2024 at 3:36 am #15315831

wernerL-4

This is the full reply from the oxygen.They said the issue triggered by WPML

Hello,

I've updated the JSON for the Main template again. The issue is that the " in the JSON aren't getting the escape character placed in front of them, for example: \".

This can be fixed using a program such as Visual Studio Code.

As to why this happens, it is probably because of WPML, and hopefully, the snippet we just provided will prevent it from happening again in the future.

If it does happen again please provide any information or insight into the steps you took leading up to the issue so we can try and identify the problem going forward.

How would you rate my reply?
Great Okay Not Good

--
Kevin Pudlo
support@oxygenbuilder.com
{#HS:2505779675-95377#}
On Fri, Feb 16, 2024 at 4:01 AM UTC, Lankesh Tharmalingam <lankesh@designsolv.com> wrote:
Hi Kevin,

Added those functions to the site. but seems nothing happens on it

Still the error exists

Thanks & Regards

T. Lankesh

On Thu, Feb 15, 2024 at 11:12 PM UTC, Oxygen Support <support@oxygenbuilder.com> wrote:
Hello,

I'm very sorry for the issues you're encountering. As you are using WPML, it could be related to a plugin conflict between the two plugins. The only viable solution we have at this time is to add the following PHP code to the site using a plugin such as Code Snippets or WP Code Box (paid):
function oxys_modify_wmpl_translated() {
if(function_exists('oxy_wpml_translated')) {
remove_action( 'wpml_page_builder_string_translated', 'oxy_wpml_translated' );
add_action( 'wpml_page_builder_string_translated', 'oxys_wpml_translated' );
}
}
add_action( 'wpml_page_builder_string_translated', 'oxys_modify_wmpl_translated', 9 );

function oxys_wpml_translated(
$package_kind,
$translated_post_id,
$original_post,
$string_translations,
$lang
) {

// Make sure the package is for our plugin
if ( OXY_NAME === $package_kind ) {

// Get the data from the original post
// We'll then update the data with the translated strings and
// save to the translated post.
$json = get_post_meta( $original_post->ID, "ct_builder_json", true );
$tree = json_decode( $json, true );
$tree = oxy_wpml_translated_recursion($tree, $string_translations, $translated_post_id, $lang);
$json = json_encode( $tree, JSON_UNESCAPED_UNICODE );

// Save the post data that now includes the translations to the translated post.
update_post_meta( $translated_post_id, "ct_builder_json", $json );
}
}
If this doesn't work for you, then we don't have any further solutions on our end at this time, unfortunately.

--
Kevin Pudlo
support@oxygenbuilder.com
On Wed, Feb 14, 2024 at 10:55 AM UTC, Lankesh Tharmalingam <lankesh@designsolv.com> wrote:
Hi Kevin,
I did some style related updates on the header template on all languages. Everything seems working fine for a while but again same issue happens on the EN pages.

IS THERE ANY WAY TO PREVENT THIS ISSUE HAPPENEING. IS THERE ANY SOLUTIONS WE CAN DO OUR SELF IS IT HAPPENS AGAIN

Thanks & Regards

T. Lankesh

On Tue, Feb 13, 2024 at 1:47 PM UTC, Oxygen Support <support@oxygenbuilder.com> wrote:
Hello Lankesh,

Thank you for being so patient.

WPML Translated templates getting "FAILED TO LOAD TEMPLATE DATA" in EN language only. Everything works fine until yesterday. Suddenly EN pages stopped working and the Templates are not l;oading

The issue was that some of the JSON in the "Mainheader - EN" template was unescaped, which caused issues with Oxygen loading correctly. We've fixed these unescaped characters in the JSON, and everything should now work.

Please let us know if you have any further questions.

February 20, 2024 at 9:55 am #15321501

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

If you suspect a bug in WPML then I would like to ask you to install the latest version of Oxygen on the following test site and import your template, so that I can have ac loser look at the issue.

One-Click-Login:
hidden link

Please leave me a short comment on this ticket, once you are done with this task.

The topic ‘[Closed] Oxygen EN Transltions suddenly shows only the Page Title’ is closed to new replies.