Skip Navigation

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

Problem:

You are trying to translate your site using WPML and encountering issues with some articles and elements, specifically involving the base64 encoded fields in the fusion_sharing: description field.

Solution:

If you're experiencing this issue, we recommend adding the WPML language configuration for the Avada Element that is causing the problem. First, identify the exact name of the Avada Element/Widget that is problematic. You can refer to our documentation on how to handle such cases:

https://wpml.org/documentation/plugins-compatibility/how-to-build-multilingual-sites-with-wpbakery-page-builder-and-wpml/#adding-support-for-the-raw-html-element

https://wpml.org/documentation/support/language-configuration-files/register-page-builder-content-for-translation/

Additionally, ensure you have updated the original language page after canceling any translation job and place the following custom XML configuration in WPML>>Settings>>Custom XML Configuration:

<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_sharing</tag>
<attributes>
<attribute>tagline</attribute>
<attribute>title</attribute>
<attribute encoding="base64">description</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

If this solution does not apply because it is outdated or not relevant to your case, 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. If issues persist, please 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.

Tagged: 

This topic contains 8 replies, has 0 voices.

Last updated by Bigul 2 months ago.

Assisted by: Bigul.

Author Posts
November 17, 2024 at 9:47 pm #16412267

vladimirM-19

Background of the issue:
I want to translate my site using WPML and I am encountering issues with some articles and elements. The site I need help with is hidden link. There are base64 encoded fields in the document, specifically in the fusion_sharing: description field.

Symptoms:
I am getting an error for some articles and elements when trying to translate my site. It seems to always involve the fusion_sharing: description field.

Questions:
How can I resolve the error related to base64 encoded fields in the fusion_sharing: description?
Is there a specific way to handle base64 encoded fields in WPML?

November 18, 2024 at 8:07 am #16413209

Bigul
Supporter

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

This may be related to the following. Normally we can resolve this bug by adding the WPML language configuration for the Page builder (Avada) Element having the issue.

https://wpml.org/forums/topic/adding-base64-encoded-fields-to-xml-does-not-resolve/#post-14696499

Therefore please share the exact name of the Avada Element/Widget having the issue. Please refer to the following documentation for more details.

https://wpml.org/documentation/plugins-compatibility/how-to-build-multilingual-sites-with-wpbakery-page-builder-and-wpml/#adding-support-for-the-raw-html-element

https://wpml.org/documentation/support/language-configuration-files/register-page-builder-content-for-translation/

--
Thanks!

Bigul

November 18, 2024 at 11:34 am #16414508

vladimirM-19

Hi Bogul, I tried

<wpml-config>
<shortcodes>
<shortcode>
<tag encoding="base64">fusion_code</tag>
</shortcode>
</shortcodes>
</wpml-config>

Also tried

<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_sharing</tag>
<attributes>
<attribute encoding="base64">content</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

Both did not work

November 18, 2024 at 11:37 am #16414541

vladimirM-19

Also

<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_sharing</tag>
<attributes>
<attribute encoding="base64">description</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

This is the shortcode in the backend

[fusion_sharing tagline="Like It, Share It..." tagline_color="" backgroundcolor="" title="The Best Hotels near Zagreb Advent & Christmas Market" link="hidden link" description="V2FudCB0byB2aXNpdCBaYWdyZWIgZHVyaW5nIGFkdmVudCBhbmQgeW91IGFyZSBsb29raW5nIGZvciB0aGUgYmVzdCBwbGFjZSB0byBzdGF5PyBUaGF0IGlzIGdyZWF0IG5ld3MsIHRvIGhlbHAgeW91IHdlIGdpdmUgeW91IHRoaXMgbGlzdCBvZiB0aGUgQmVzdCBIb3RlbHMgbmVhciBaYWdyZWIgQWR2ZW50ICYgQ2hyaXN0bWFzIE1hcmtldC4K" icons_boxed="yes" icons_boxed_radius="0px" color_type="" icon_colors="" box_colors="" tooltip_placement="" pinterest_image="" pinterest_image_id="" hide_on_mobile="small-visibility,medium-visibility,large-visibility" class="" id="social-share-sidebar" /]

November 18, 2024 at 2:17 pm #16415251

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. Please share actual content you have added to the Description field of the fusion_sharing Avada Element. This information will help us track the issue.

Additionally, have you updated the original language page after canceling the translation job and placing the following code in WPML>>Settings>>Custom XML Configuration?

<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_sharing</tag>
<attributes>
<attribute>tagline</attribute>
<attribute>title</attribute>
<attribute encoding="base64">description</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

--
Thanks!

Bigul

November 18, 2024 at 8:07 pm #16416480

vladimirM-19

Hi Bodul,

I tried your code, and I still get the same error, I did put it under settings - Custom XML Configuration.

The content which is there is

Want to visit Zagreb during advent and you are looking for the best place to stay? That is great news, to help you we give you this list of the Best Hotels near Zagreb Advent & Christmas Market.

Screenshot 2024-11-18 at 9.06.38 PM.png
November 19, 2024 at 6:23 am #16417697

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the update. This may be a compatibility issue. To debug this further, I have created a test site on our sandbox server (a fresh installation). Please use the following link to access the site's backend:

hidden link

Log in to the sandbox site, install the Avada theme, and create a test page. Afterward, please check whether the issue persists.

Reproducing the issue on a fresh installation will greatly assist us in our testing and speed up the escalation process. It will also allow us to troubleshoot the bug without affecting your live site.

Thank you for your understanding.

--
Thanks!

Bigul

November 19, 2024 at 10:56 am #16418936

vladimirM-19

Hi Bogule,

Before I do this, can I ship that field somehow? so it is not translated?
It is dynamically pulled from the post excerpt, so I am ok to try and skip it.

November 19, 2024 at 5:28 pm #16420941

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. One request. Could you please share a screencast (screen capture) for the better understanding of the workflow of *fusion_sharing* element. Because this requires further checking. You can share the screencast via Google Drive or Dropbox.

--
Thanks!

Bigul