Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+02:00)

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by Itamar 2 weeks, 1 day ago.

Assisted by: Itamar.

Author Posts
December 8, 2025 at 11:20 am

nickS-28

Some fucked up issue with long deleted items keeps happening that just breaks shit anywhere.
Been in touch with Elementor support for 3 weeks, 80 emails, 5 people took a look at it and nobody could solve it. Ultimately, they said when the turn off WPML, the issue is gone. Elementor ha a functionality called Global Widgets that cuases the issue, despite all of them having been deleted. Elementor support had access to each and every last file, FTP, PHPMyAdmin and said maybe the WPML databases are the issue, but they could not fix it, because they do apparently not even know their own plugin well enough.

December 9, 2025 at 10:36 am #17646876

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

This ticket has been escalated to our second-tier supporters.
We'll keep you informed on any news regarding this issue.

I appreciate your patience.
Itamar.

December 10, 2025 at 4:52 pm #17653281

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Our second-tier supporter has identified the root of the problem and provided the following workaround.

1. Edit this file with a code editor:
/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php

2. Look for this code, which should be around line number 194.

	private function translate_id( $element_id, $element_type = null ) {
		if ( ! $element_type || 'any_child_of' === $element_type ) {
			$element_type = get_post_type( $element_id );
		}

And right after it, add this code:

if ($element_type == false){
return $element_id;
}

3. Save the file.

4. Check the page, and it should be fixed.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

I already applied this to your site. See the change in the file in the screenshot fix-in-file.png. And if you check this page, for example, hidden link, you will see that the problem is fixed. Please see the attached screenshot problem-fixed.png.

The issue has been escalated to our developers, and they will fix it in future versions of WPML. We will update you here when it is released. Meanwhile, you might need to reapply this fix when there is an update to WPML that does not include it.

Regards,
Itamar.

fix-in-file.png
problem-fixed.png
December 11, 2025 at 11:19 pm #17657711

nickS-28

thanks seems to have solved it, do I hae to move this into the child theme so it does not get overvwritten in the next update or will it be included in the next update anyway?

December 14, 2025 at 9:49 am #17661936

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I'm unsure if this code can be applied through a child theme. However, if you know how to make it work this way, please proceed.

I'm sorry, but I can't tell if the fix will be included in the next stable version of WPML. Please understand that it is up to our developers.

We will keep you updated here on any news regarding this issue.

Regards,
Itamar.