Skip to content Skip to sidebar

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

Problem:
The client was experiencing issues with various widgets of Unlimited Elements for Elementor, where the Media Translation did not replace the images in a second language. This was particularly problematic with the 'Coverflow Carousel' and 'Dual Color Heading' widgets from Unlimited Elements for Elementor, which were not filtering images correctly by language.

Solution:
We first recommended ensuring all plugins were updated and then re-saving the original page in Elementor. When this did not resolve the issue, we identified that the function

getUrlAttachmentImage

in the plugin was not checking for the current language. We provided a code snippet to modify this function to integrate WPML's language settings:

For the Image Carousel, revise this comment. Another fix can be found here.

We advised the client to report these details to the plugin authors and informed them that our compatibility team would also reach out to the plugin authors.

If this solution does not apply to your case, or if it seems 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. 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.

This topic contains 73 replies, has 0 voices.

Last updated by sachaJ 1 month ago.

Assisted by: Andreas W..

Author Posts
November 5, 2025 at 8:41 pm #17551715

Andreas W.
WPML Supporter since 12/2018

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

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

I can sadly not escalate anything internally without providing a test site on which the issue was replicated from scratch.

If I recall correclty, on our old ticket, we already had a test site running without the need to register the plugin. Sadly, this test site has already expired.

I just need you to install the plugins - no registration.

If this is not possible:
If the author is interested in making his plugins fully compatible with WPML, he can fill out this form, and our team will assist in achieving this goal:
https://wpml.org/documentation/support/go-global-program/

November 5, 2025 at 8:45 pm #17551716

sachaJ

Th author just resolved it with an UPDATE to his plug in.

Wait for me to update all of my pages and I will write down what he fixed and how I was able to accomplish my design so you can share the info with your team and other designers with the same situation.

I AM SO HAPPY !!! 🙂

I will get back to you by NEXT week with snapshots !

November 5, 2025 at 9:13 pm #17551772

Andreas W.
WPML Supporter since 12/2018

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

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

I am very glad to hear that!

Please verify if the updates solved all open issues - if so, no further steps are required. If you still spot any issues, please let me know.

November 6, 2025 at 4:08 am #17551992

sachaJ

Good Morning Andreas!

Now that the 3D Flipbook is solved, NOW I still can't have access to some newly uploaded images from yesterday (see attached images).

Can you please find a permanent fix with the access I provided you.

SiteGround didn't understand what you had written regarding JavaScript conflit so they could do anything with the info.

Here is the issue again.

Cant access Media Translation.JPG
November 6, 2025 at 4:25 am #17552009

sachaJ

CORRECTION:

All of my new images since yesterday are all blocked from updating the media translate button

Cant access Media Translation_2.JPG
November 6, 2025 at 5:09 pm #17554906

Andreas W.
WPML Supporter since 12/2018

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

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

I am suspecting a conflict that occurs when using SiteGround Speed Optimizer's .webp file format feature with WPML Media Translation, and will try to replicate this issue on a new test site.

Once I am done running these tests, I will reach out to you again.

November 6, 2025 at 5:12 pm #17554908

sachaJ

Perfect Thank you!

You can go ahead and DEACTIVE the WebP feature if needed SINCE I create WEBP files BEFORE uploading them to my site. So technically, I don't need this feature if it is in conflict

November 6, 2025 at 8:52 pm #17555587

sachaJ

Hi Andreas,

Is it Fixed?

November 6, 2025 at 9:00 pm #17555588

Andreas W.
WPML Supporter since 12/2018

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

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

I can not confirm the issue on my test site, which might be related to the fact that various features of the SiteGround Optimizer Plugin, like Caching and Image Optimization, will only work on SiteGround servers.

Sandbox:
hidden link

To further investigate this issue, I need you to set up a staging site (clone of your site) on your SiteGround server.

In case you are unsure about how to set up such a staging site, please consult the SiteGround support and then use the private reply form to submit the access credentials for this new site.

November 7, 2025 at 12:46 am #17555823

sachaJ

My site is currently down!

I am in talks with a technician and once the fix is made I will see if I can find another solution.

I have really tested alot this week....I guess it was meant to happen today 🙁

November 7, 2025 at 3:01 am #17555877

Andreas W.
WPML Supporter since 12/2018

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

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

Your site seems to be fine after clearing the SiteGround cache:
hidden link

I tried to disable the Speed Optimizer - Media Features on your site, but this does sadly not solve the issue.

Even after disabling "Speed Optimizer" and "Security Optimizer" the error still occurs:

Uncaught TypeError: Cannot read properties of null (reading 'siteground_optimizer_compression_level')

I then randomly deactivated some plugins and synced the media again. At this point, the issue seems solved, as this error only occurs if the media was not yet synced.

At the moment, the issue does not occur, even when I upload a new media file.

---

In case the issue occurs again, please let me know.

---

Sidenote:
I would suggest not using more than one cache plugin on the site. I would be recommendable to not using "WP-Optimize - Clean, Compress, Cache".

You already have SiteGround's Speed Optimizer for this purpose. Using more than one plugin of the same type can cause unexpected issues and unnecessary performance problems.

Another sidenote:
WPML comes with many addons for popular plugins, but kindly take note that you only need to install these addons, if you are using the plugins that they were created for.
Example: You do not need "Ninja Forms Multilingual" if you do not use the "NinjaForms" plugin.

The plugin "Multilingual Tools" should not be used on production sites. It is a developer plugin needed to created configuration files for WPML.

I have sorted out the plugin list for you.

November 7, 2025 at 3:20 am #17555879

sachaJ

YOU ARE WONDERFUL Andreas!!!

Thank you!

Correct, SiteGround was able to clear many cache and provided me with many ways of clearing my cache. I am please they we able to come through that quickly 🙂

Question 1:
WP-Optimized provided me with Optimizing, Database, and Tables clearing.
Are you saying it was not necessary?

Should I just delete it from the plug-in list?

Question 2:
I don't see: Ninja Forms Multilingual. Did you delete it already?

Question 3:
Should I just delete WPML Multilingual & Multicurrency for WooCommerce from the plug-in list?

Once i get those answers I will be good to go!!!

Thank you 🙂 XXX

November 7, 2025 at 4:08 am #17555883

sachaJ

My site is corrupted again.

I reached out to SiteGround to fix it more thoroughly

November 7, 2025 at 4:22 am #17555885

Andreas W.
WPML Supporter since 12/2018

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

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

Question 1:
WP-Optimized is a similar plugin like the Siteground "Speed Optimizer" and I would not suggest running both plugins at the same time or at least if you use both plugins at the same time, make sure that similar features like "Site Caching" are not enabled on both plugins at the same time.

This means, you could use one plugin for one feature, another plugin for another feature, but avoid running similar features in different plugins at the same time.ç

Basically, this could be the reason for the error you experienced on WPML Media Translation, as such optimization plugins often pack scripts of all active plugins into smaller files, or optimize the images inside the media library, to enhance the load time of the site, and if two plugins try to do the same thing at the same time, this could lead to a conflict.

Question 2:
I deleted Ninja Forms Multilingual and other unnecessary WPML-Addons already for you.

Question 3:
You will only need WPML Multilingual & Multicurrency for WooCommerce if you plan ot use WooCommerce on your site.

In case the Media Translation issue occurs again, please let me know. I am keeping the ticket open.

November 7, 2025 at 1:22 pm #17557317

sachaJ

HI Andreas,

Thank you for the clarity on the plug-ins.

As for my site blank page errors (images attached), SiteGround solved today (the problem occurred when I was trying to match my Media Translation with the Media Library so as NOT to have duplicate images)

BUT below is the info from SiteGround;

I’ve identified and resolved the issue that was causing your website to display a blank page.

The problem was coming from a compatibility issue between the WPML Page Builders add-on and Elementor. Specifically, WPML includes a function that processes Elementor’s display conditions using JSON decoding. However, after a recent Elementor update, the data being passed to this function changed format — in some cases, it was already an array instead of a JSON string.

When WPML tried to run json_decode() on this array, PHP threw a fatal error, which caused the page to stop loading completely (resulting in the blank page you saw).

The exact error logged in the php_errorlog of the website was:

[07-Nov-2025 05:05:15 UTC] PHP Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/Hooks/DisplayConditions.php:108

Since $conditionJson was sometimes an array, PHP failed with a TypeError.

I modified the function to safely check whether the data is already an array before attempting to decode it. This prevents PHP from throwing an error and restores normal page rendering.

After applying this fix, the blank page issue was resolved, and the site is loading correctly again.

Please verify the result on your end and attempt to recreate the issue once again so we may take a further look if necessary.

Captur00e.JPG
Capture01.JPG