Skip to content Skip to sidebar

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

Problem:
You are trying to translate a website using Gutenberg blocks with Carbon Fields, but encounter an error when editing the page from the admin panel, and no blocks are displayed on the frontend.
Solution:
We have identified that the issue might be related to the handling of complex or serialized fields by plugins similar to Carbon Fields. We recommend checking our errata on handling custom fields with complex keys stored as serialized arrays in WPML. You can find the temporary workaround here: Custom Fields with Complex Keys Are Stored as Serialized Arrays in WPML. Please try this solution and see if it resolves the issue.

If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Also, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly through the 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 1 reply, has 0 voices.

Last updated by Waqas Bin Hasan 7 months, 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 24, 2025 at 3:08 pm #16741733

yanaL

Background of the issue:
I am trying to translate the website into multiple languages. It is built using Gutenberg blocks with Carbon Fields. However, when trying to display the content in the admin panel, an error occurs. Link to a page where the issue can be seen: hidden link

Symptoms:
I encounter an error when trying to edit the page from the admin panel. Additionally, no blocks are displayed on the frontend at all.

Questions:
Why are Gutenberg blocks not displaying in other languages?
What is causing the error in the admin panel when trying to edit the page?

February 25, 2025 at 9:47 am #16744740

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Although we don't have much on the Carbon Fields, since it is not a plugin but a 3rd party library. However, I found one report which addresses the issue about complex or serialized fields handling in the said (or similar plugins).

Our team has published an errata at https://wpml.org/errata/custom-fields-with-complex-keys-are-stored-as-serialized-arrays-in-wpml/ to deal with this temporarily, while they are working on a more better solution.

Please try the workaround and let me know if this helps.

Regards.