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 week ago.

Assisted by: Andreas W..

Author Posts
November 7, 2025 at 1:39 pm #17557431

sachaJ

I just got these errors from the site (Attached).

I reached out to SiteGround to escalate the issue

WordPress Error-4.jpg
WordPress Error-3.jpg
WordPress Error-2.jpg
November 7, 2025 at 1:41 pm #17557490

sachaJ

Here is page 1 as text:

Howdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, Elementor Pro.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.8.3
Active theme: Hello Elementor (version 3.4.5)
Current plugin: Elementor Pro (version 3.32.3)
PHP version 8.2.29

Error Details
=============
An error of type E_ERROR was caused in line 168 of the file /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/display-conditions/module.php. Error message: 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/elementor-pro/modules/display-conditions/module.php:168
Stack trace:
#0 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/display-conditions/module.php(168): json_decode(Array, true)
#1 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/display-conditions/module.php(175): ElementorPro\Modules\DisplayConditions\Module->get_saved_conditions(Array)
#2 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\DisplayConditions\Module->before_element_render(Object(Elementor\Includes\Elements\Container))
#3 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): do_action('elementor/front...', Object(Elementor\Includes\Elements\Container))
#6 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1888): Elementor\Element_Base->print_element()
#7 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1804): Elementor\Core\Base\Document->do_print_elements(Array)
#8 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements(Array)
#9 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/frontend.php(1172): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
#10 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/frontend.php(1240): Elementor\Frontend->get_builder_content('42680', true)
#11 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/library/widgets/template.php(101): Elementor\Frontend->get_builder_content_for_display('42680')
#12 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): ElementorPro\Modules\Library\Widgets\Template->render()
#13 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()
#14 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(757): Elementor\Widget_Base->render_content()
#15 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/element-base.php(627): Elementor\Widget_Base->get_raw_data(true)
#16 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1085): Elementor\Element_Base->get_raw_data(true)
#17 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(735): Elementor\Core\Base\Document->get_elements_raw_data(Array, true)
#18 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1071): Elementor\Core\Base\Document->get_initial_config()
#19 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(40): Elementor\Controls_Stack->get_config()
#20 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(168): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()
#21 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/editor.php(355): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->enqueue_scripts()
#22 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts('')
#23 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#24 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#25 /home/customer/www/crc-cares.earth/public_html/wp-includes/script-loader.php(2299): do_action('wp_enqueue_scri...')
#26 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('')
#27 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#28 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#29 /home/customer/www/crc-cares.earth/public_html/wp-includes/general-template.php(3192): do_action('wp_head')
#30 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(35): wp_head()
#31 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(218): include('/home/customer/...')
#32 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/editor.php(160): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->print_root_template()
#33 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init('')
#34 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#35 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#36 /home/customer/www/crc-cares.earth/public_html/wp-admin/admin.php(420): do_action('admin_action_el...')
#37 /home/customer/www/crc-cares.earth/public_html/wp-admin/post.php(12): require_once('/home/customer/...')
#38 {main}
thrown

November 7, 2025 at 3:05 pm #17557716
sachaJ

Hi Andreas,

Here is the issue from SiteGrounds perspective:

Georgi Panchev

Nov 7, 2025 09:54 AM

Hello Sacha,

Upon reviewing your issue, it appears that there is a compatibility problem involving the WPML and Elementor Pro plugins, as indicated by the following error:

[07-Nov-2025 14:38:42 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/elementor-pro/modules/display-conditions/module.php:168
Stack trace:
#0 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/display-conditions/module.php(168): json_decode(Array, true)
#1 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/display-conditions/module.php(175): ElementorPro\Modules\DisplayConditions\Module->get_saved_conditions(Array)
#2 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\DisplayConditions\Module->before_element_render(Object(Elementor\Includes\Elements\Container))
#3 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): do_action('elementor/front...', Object(Elementor\Includes\Elements\Container))
#6 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1888): Elementor\Element_Base->print_element()
#7 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1804): Elementor\Core\Base\Document->do_print_elements(Array)
#8 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements(Array)
#9 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/frontend.php(1172): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
#10 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/frontend.php(1240): Elementor\Frontend->get_builder_content('42680', true)
#11 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/library/widgets/template.php(101): Elementor\Frontend->get_builder_content_for_display('42680')
#12 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): ElementorPro\Modules\Library\Widgets\Template->render()
#13 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()
#14 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(757): Elementor\Widget_Base->render_content()
#15 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/element-base.php(627): Elementor\Widget_Base->get_raw_data(true)
#16 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1085): Elementor\Element_Base->get_raw_data(true)
#17 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(735): Elementor\Core\Base\Document->get_elements_raw_data(Array, true)
#18 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1071): Elementor\Core\Base\Document->get_initial_config()
#19 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(40): Elementor\Controls_Stack->get_config()
#20 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(168): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()
#21 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/editor.php(355): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->enqueue_scripts()
#22 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts('')
#23 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#24 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#25 /home/customer/www/crc-cares.earth/public_html/wp-includes/script-loader.php(2299): do_action('wp_enqueue_scri...')
#26 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('')
#27 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#28 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#29 /home/customer/www/crc-cares.earth/public_html/wp-includes/general-template.php(3192): do_action('wp_head')
#30 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(35): wp_head()
#31 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(218): include('/home/customer/...')
#32 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/editor.php(160): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->print_root_template()
#33 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init('')
#34 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#35 /home/customer/www/crc-cares.earth/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#36 /home/customer/www/crc-cares.earth/public_html/wp-admin/admin.php(420): do_action('admin_action_el...')
#37 /home/customer/www/crc-cares.earth/public_html/wp-admin/post.php(12): require_once('/home/customer/...')
#38 {main}
thrown in /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor-pro/modules/display-conditions/module.php on line 168

This error is preventing Elementor from loading correctly, which seems to be linked to the slider malfunction you've mentioned.

Additionally, it seems some images are missing from your website. Specifically, images that should appear on the front page are not loading and return a 404 error:

wp-content/uploads/2025/11/CRC_We-Are_SLIDESHOW_02-1-scaled.webp

I checked the media directory for recent uploads and noticed that no images have been uploaded for November 2025 in the folder 2025/11. It appears these images have been removed, which correlates with the missing elements on the front page, likely affecting the slider's functionality.

Given that the issues involve paid plugins from Elementor and WPML, I recommend reaching out to Elementor's support team with the error details provided above. They should be able to offer a specific solution. Similarly, contacting WPML support would be beneficial as the json_decode() function had previously caused issues before we applied a fix to their plugin.

Once you receive guidance from their support teams on how to resolve these issues, please feel free to update us with any new information or instructions they provide. This will help us assist you further.

New threads created by Andreas W. and linked to this one are listed below:

https://wpml.org/forums/topic/split-elementor-display-conditions-trigger-fatal-error/

November 7, 2025 at 5:38 pm #17558181

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

It seems to me we are talking about two different issues here.

The reported issue on this ticket was that you are not able to translate untranslated media at WPML > Media Translation.

It seems like this issue no longer occurs on your site. In case you need further assistance regarding this issue, please let me know.

I will split the newly reported error about Elementor into a new ticket and follow up with you there.

Please try to always refer to one issue in each ticket.

Best regards
Andreas

November 7, 2025 at 5:42 pm #17558187

sachaJ

OK Andreas,

from SiteGround 's info, please send me the link to the NEW ticket trail 🙂

November 7, 2025 at 7:08 pm #17558403

Andreas W.
WPML Supporter since 12/2018

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

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

This is the new ticket:
https://wpml.org/forums/topic/split-elementor-display-conditions-trigger-fatal-error/

Can you please confirm if the Media Translation issue is currently still replicable on your site?

Further, we also handled an issue about 3D FlipBook on another ticket, which was marked as "Resolved" already. Did you hear back from the author? If not, let me know and I will reopen the ticket and escalate the issue internally.

November 7, 2025 at 7:16 pm #17558424

sachaJ

Answer 1: Media Translation issue

The issue seemed resolved until my website went crazy.

I need to rebuild the image library so I can reassign the media translate and confirm everything is back to the way you had worked on it.

So my answer is...I don't know yet.

Answer 2: Real 3D FlipBook and WPML

The Real 3D FlipBook was resolved with the assistance of the plug-in author.

He adjusted his shortcode setting and that update will be integrated within the NEXT plug-in update release.

Essentially, WMPL will NOT translate the flipbook in my situation since the flipbook are separate PDFs for each language and WMPL Media Translate doesn't work with Real 3D Flipbook as it is coded).

November 7, 2025 at 9:11 pm #17558701

Andreas W.
WPML Supporter since 12/2018

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

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

Very well, I will simply leave the ticket open for now and wait for your reply.

November 8, 2025 at 11:04 pm #17559675

sachaJ

Hi Andreas!

Again THANK YOU FOR ALL OF YOUR DILIGENT SUPPORT!

The Author of Real 3D Flipbook was able to provide me with the correct support and shortcode for my situation (having 2 separate PDFs for the flipbook based on my site language.

I have attached images for future guidance with others.

The shortcodes I needed were within 2 separate shortcode widgets:

- EN: [real3dflipbook id='1' lang="en" mode="lightbox"]
- FR: [real3dflipbook id='2' lang="fr" mode="lightbox"]

Then for the thumbnail, we can swap the plug-in default with our own thumbnail within the LIGHTBOX section of the Edit Flipbook (we can also increase the size in pixels!!).

PLEASE SHARE!!

Have a wonderful week!

P,S. You PERFECTLY FIXED my Media Translation problem and it is a JOY to use WPML with Real 3D FlipBook!!

You are AWESOME!
xxx 🙂

Real 3D Flipbook_2.JPG
Real 3D Flipbook_1.JPG
November 11, 2025 at 10:22 am #17565714

Andreas W.
WPML Supporter since 12/2018

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

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

Thank you for letting us know!

I will include the suggested solution in a summary that will be published in the top section of this ticket.

November 12, 2025 at 1:27 pm #17571137
sachaJ

HI Andreas,

Since yesterdays WPML update (from my download section of your WPML site) my Media Translate is again acting up.

Right now, I cant have access to updated my FR images.

Can you help please?

New threads created by Andreas W. and linked to this one are listed below:

https://wpml.org/forums/topic/split-unable-to-trigger-upload-dialog-on-wpml-media-translation/

Frozen.JPG
November 12, 2025 at 1:35 pm #17571176

sachaJ

I had to reupload my images because people are waiting fore me.

Can you please fix that setting that freezes new images?

November 12, 2025 at 2:15 pm #17571303

Andreas W.
WPML Supporter since 12/2018

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

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

Thank you for reaching out!

Please allow me to split this issue into a new ticket and assist you from there. You will receive an email notification once I answer the newly created ticket.

If all other topics that were handled on this ticket need further attention, please mark this ticket as resolved.

November 12, 2025 at 2:16 pm #17571308

Andreas W.
WPML Supporter since 12/2018

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

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

This is the URL of the new ticket:
https://wpml.org/forums/topic/split-unable-to-trigger-upload-dialog-on-wpml-media-translation/

November 12, 2025 at 2:28 pm #17571373

sachaJ

Thank you for resolving this issue, Andreas