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 2 replies, has 1 voice.
Last updated by antonioC-92 2 months, 4 weeks ago.
Assisted by: Bobby.
| Author | Posts |
|---|---|
| October 30, 2025 at 7:25 pm #17534089 | |
|
antonioC-92 |
Background of the issue: The page crashes with a 500 error. Test URL: hidden link I already applied the official workaround from this errata: The error still occurs on: WPML Multilingual CMS 4.8.4 Elementor Pro (insert exact version) PHP (insert version) The same page works fine when WPML Page Builders is deactivated. Temporary workaround: returning an empty string for _elementor_conditions or normalizing it to valid JSON prevents the crash, confirming that WPML Page Builders still calls json_decode() on an array in DisplayConditions.php. Symptoms: Instead, it triggers a 500 Internal Server Error. PHP error log excerpt: Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given This happens on multiple Elementor pages that use Display Conditions, not just one. Questions: Has this issue been fully fixed in a newer WPML build than 4.8.4? If not, could you please confirm the correct patch or file version of DisplayConditions.php that resolves this problem? |
| October 30, 2025 at 9:23 pm #17534438 | |
|
antonioC-92 |
Elementor Version 3.32.5 |
| October 30, 2025 at 9:41 pm #17534458 | |
|
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hi there, Just to verify, you are using the latest version of WPML (4.8.4) correct? Does the issue happen when using the 4.8.4 version ? This issue was resolved in an earlier version and the workaround is no longer needed. IF you are using 4.8.4 and the issue persists, does the workaround from our Errata documentation work? Awaiting your feedback! |
| October 30, 2025 at 9:51 pm #17534462 | |
|
antonioC-92 |
I finally traced it down to a TypeError inside WPML’s Elementor Display-Conditions integration. |