Skip to content Skip to sidebar

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

Problem:
The client reported a fatal error involving WPML and Elementor Pro plugins, which prevented Elementor from loading correctly. Additionally, there were issues with missing images on the website, specifically on the front page, which seemed to affect the slider's functionality.
Solution:
We clarified that the fatal error the client mentioned was related to Elementor and occurred even when WPML was disabled, indicating that it was not a WPML issue. We advised the client to contact Elementor's support team for a resolution regarding the error. For the missing images, it was noted that they had been deleted from the server, which the client was addressing by re-uploading them.

If this solution does not resolve your issue, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum 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 6 replies, has 0 voices.

Last updated by sachaJ 2 weeks, 4 days ago.

Assisted by: Andreas W..

Author Posts
November 7, 2025 at 5:39 pm #17558182

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): ElementorProModulesDisplayConditionsModule->get_saved_conditions(Array)
#2 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): ElementorProModulesDisplayConditionsModule->before_element_render(Object(ElementorIncludesElementsContainer))
#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(ElementorIncludesElementsContainer))
#6 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1888): ElementorElement_Base->print_element()
#7 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1804): ElementorCoreBaseDocument->do_print_elements(Array)
#8 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1201): ElementorCoreBaseDocument->print_elements(Array)
#9 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/frontend.php(1172): ElementorCoreBaseDocument->print_elements_with_wrapper(Array)
#10 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/frontend.php(1240): ElementorFrontend->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): ElementorFrontend->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): ElementorProModulesLibraryWidgetsTemplate->render()
#13 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): ElementorControls_Stack->render_by_mode()
#14 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(757): ElementorWidget_Base->render_content()
#15 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/includes/base/element-base.php(627): ElementorWidget_Base->get_raw_data(true)
#16 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(1085): ElementorElement_Base->get_raw_data(true)
#17 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/base/document.php(735): ElementorCoreBaseDocument->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): ElementorCoreBaseDocument->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): ElementorControls_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): ElementorCoreEditorLoaderCommonEditor_Common_Scripts_Settings::get()
#21 /home/customer/www/crc-cares.earth/public_html/wp-content/plugins/elementor/core/editor/editor.php(355): ElementorCoreEditorLoaderV2Editor_V2_Loader->enqueue_scripts()
#22 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): ElementorCoreEditorEditor->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): ElementorCoreEditorLoaderV2Editor_V2_Loader->print_root_template()
#33 /home/customer/www/crc-cares.earth/public_html/wp-includes/class-wp-hook.php(324): ElementorCoreEditorEditor->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.

November 7, 2025 at 5:45 pm #17558191

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

The SiteGround Support mentioned that it seems that you removed images from the server, which might have triggered an error.

I see you are currently not able to open the original homepage in Elementor, but this is not a WPML-related issue. This error persists if you disable WPML.

Please contact the Elementor Support Team about it.

Best regards
Andreas

November 7, 2025 at 5:48 pm #17558195

sachaJ

The images GOT DELETED when the site went down because of conflicting issues.

I am currently uploading all the images. It will take some time (i am doing it at the office and will continue after work)

For the other conflicting issues, I have reached out to WPML and Elementor

November 7, 2025 at 6:53 pm #17558331

Andreas W.
WPML Supporter since 12/2018

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

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

OK, just please take note that the Fatal Error that you are reporting on this ticket is an error inside Elementor that also occurs if WPML is disabled.

This is not a WPML issue.

November 7, 2025 at 7:01 pm #17558369

sachaJ

Ok. I will see what Elementor says and will keep building the image library and Media Translate.

Thank you Andreas.

I will let you know once I can get access to the site.

Right now, my editor access is blocked for the landing page.

I will see with the other pages tonight.

Stay tuned 🙂

November 7, 2025 at 7:08 pm #17558405

Andreas W.
WPML Supporter since 12/2018

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

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

You are very welcome!

November 8, 2025 at 10:58 pm #17559674

sachaJ

Hi Andreas!

Again THANK YOU FOR ALL OF YOUR DELIGENT SUPPORT!

The fatal error was fixed by SiteGround and had nothing to do the WMPL plug-in.

Have a wonderful week!

P,S. Your PEREFCLY FIXED my Media Translation problem and it is a JOY to use WPML!!

You are AWESOME!
xxx 🙂