Skip Navigation

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

Problem:
The client was experiencing following critical error when loading blog posts using WPML 4.7.4, and after rolling back to a previous version, some translators were unable to access translation jobs.

Uncaught TypeError: WPML\PB\Elementor\DataConvert::serialize(): Argument #1 ($data) must be of type array, null given

Solution:
We identified that the issue with the critical error was related to a known problem documented in our errata. We recommended applying the workaround mentioned in the errata, which can be found here: https://wpml.org/errata/elementor-critical-error-on-woocommerce-product-pages/. We advised the client to apply this solution on their live site after taking a backup. Additionally, we suggested subscribing to the comments of the errata to stay updated on any developments.

If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 further assistance is needed, 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 16 replies, has 0 voices.

Last updated by translinguo-creative-groupS 1 month, 2 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
May 19, 2025 at 2:07 pm #17048834

translinguo-creative-groupS

Hello Hasan, thank you for your support.

I see it is working for that post but I would like to know what is the cause of that and how can update the other 300+ posts without deactivating the plugins on every single post.

hidden link

I look forward to your feedback

May 19, 2025 at 2:21 pm #17048898

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for trying that and yes you're right about those many posts.

I checked with my team and found this errata (https://wpml.org/errata/elementor-critical-error-on-woocommerce-product-pages/) and have applied the workaround mentioned here.

This looks like to fixed the issue. I didn't edit, resaved and/or deactivated any plugins.

So please check for other posts where the issue is supposed to happen and see if these work fine. If yes, then please feel free to apply the solution from that errata in your live site (after taking a backup first).

Additionally, I'll recommend subscribing to the comments of the said errata, so you are notified when there's more to it (i.e. fixed and the fix is rolled out).

May 19, 2025 at 3:16 pm #17049366

translinguo-creative-groupS

Hello Hasan,

The code you provided has worked correctly, and I want to sincerely thank you for your support.

We are now moving forward in search of a conclusive solution to fully resolve the issue.

Regards