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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Tagged: 

This topic contains 8 replies, has 1 voice.

Last updated by Otto 2 weeks, 4 days ago.

Assisted by: Otto.

Author Posts
January 5, 2026 at 4:21 pm #17704647

Trouffman

Hi,

We initially thought this was an issue with Uncanny Automator, a plugin we use to trigger webhooks on form submits on our website. But after investigation from their end, they found in the logs some errors at the WPML level when their automation recipe triggers. Interrupting and triggers and causing issues on our side.

See attached screenshots from the logs.
Let me know if you need access to the site and php debug logs in order to check things. (I'll need an email as the site has TOTP login via email only).

When the WPML plugin is disabled, the automator recipe work, when the plugin is enabled it doesn't work and does this php fatal error.

Thanks!

PS: I can bring also the WPML support tech in the loop if you guys wanna chat it out 🙂

January 5, 2026 at 4:31 pm #17704696

Trouffman

I've digged a little deeper and here is some more light on the issue.

I use the following plugins :
- JetformBuilder ( this is the form the user submits, it saves the form record AND inserts a jetengine CCT item)
- Uncanny Automator (this detects the form submit, and fires a webhook)
- WPML

The Jetengine CCT item is set to do two things :
- insert the CCT item into db
- on creation of a CCT item (this is a jetengine feature for CCTs) it insert a related CPT item (This is important I believe, see below).

IF in the WPML settings I have automatic translation on the CPT item ON => Fatal error
IF in WPML auto-translate on that CPT is OFF => No fatal error, the Uncanny automator isn't interrupted, everything works

This might help you find where the issue is.

For context, It didn't used to be a problem, so maybe something that came through in recent updates (like within the last 2 months or so) is somehow responsible.

wpml-auto-translate-blocks-automator.JPG
January 5, 2026 at 7:13 pm #17705183

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks for the detailed explanation.

First, I suggest to check if the update was complete. Maybe something broke while updating and there are some missing files, so the function is actually not there.

Can you please check in your site if the file wp-content/plugins/sitepress-multilingual-cms/inc/wpml-private-actions-tm.php exists and in line 49 it has the following:

function wpml_tm_add_translation_job( $rid, $translator_id, $translation_package, $batch_options, $sendFrom = null ) {

	$helper = new WPML_TM_Action_Helper();
	return $helper->add_translation_job( $rid, $translator_id, $translation_package, $batch_options, $sendFrom );
}

If not, please reinstall WPML and see if the issue is solved.

If the code is right, I think the issue may be related with the front end submission.

WPML's "Translate Everything" feature attempts to create translation jobs on the frontend when new content is created (e.g., via your form submission), but the necessary function wpml_tm_add_translation_job() is only loaded by WPML on the backend (admin dashboard).

Do you have a staging environment? Is it possible for you to do the following tests in a development environment to confirm this second hypothesis?

1.
If you go to WPML -> Translation Management and disable "Translate Everything" the issue is solved?

2.
If you disable the Automator the issue is gone? The CPT is created and translated after submitting the form?

3.
In wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php before line 1349 add:

						if ( ! function_exists( 'wpml_tm_add_translation_job' ) ) {
							require_once WPML_TM_PATH . '/inc/wpml-private-actions-tm.php';
						}

Let me know how this goes, please.

Best Regards,
Otto

January 6, 2026 at 7:46 pm #17707784

Trouffman

Hi,

Thanks for the feedback!

I checked the file, and the code is present (see screenshot)

1. If I disable Translate everything the issue is indeed gone, jsut like if I disable the translations for that CPT.

2. Turning off Automator, same fatal error (see screenshot)

3. I added the line (see screenshot)
Ran without Automator => No fatal error.
Ran with Automator => No fata error, and automator fires as expected!

So #3 seems to be the solution. 🙂

Let me know if you push a release you want me to test out.

without-automator.JPG
wmpl-line49.JPG
January 7, 2026 at 2:34 pm #17709717

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks for your help to isolate the issue and confirm the workaround.

To implement a final solution, I need to escalate the issue to our development team.

To do so, I need to reproduce the problem from scratch, and I'll need your help with that.

From our findings, the involved plugins are WPML, JetformBuilder and Jetengine CCT.

I created a clean installation of WordPress, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
hidden link

If it's possible for you:
- Install JetformBuilder and Jetengine CCT
- Try to replicate the issue with the minimal setup. A CPT, a form and the CCT configuration should be enough.

Thanks for your cooperation!

Best Regards,
Otto

January 7, 2026 at 6:16 pm #17710506

Trouffman

Sure,

Configured it all.
Test for to submit : hidden link

This has this form execute post-submit action: hidden link

Post submit actions are :
- Insert the CCT : hidden link
=> which in turns automatically ads a singe post CPT : hidden link (this is what triggers the auto translate)
- Store form record : hidden link

I believe you have to add some credits to WPML for auto translation to be enabled.

Once enabled, you can submit the form, it will add CCT, add CPT, should trigger auto translate, and trigger automator (which is set to insert a random wordpress post)

If you submit the form, and there is the bug, you should see no logs in automator (meaning it crashed before, and there should be the fatal error I have)
Automator logs : hidden link

January 7, 2026 at 8:11 pm #17710648

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thank you so much for your help and cooperation! I managed to reproduce the issue and get the same fatal error.

I am checking with the development team, I'll keep you posted.

Best Regards,
Otto

January 8, 2026 at 8:11 pm #17714309

Trouffman

Epic!

Looking forward to the deployed fix 🙂
Glad to finally be able to contribute a bit haha

January 8, 2026 at 8:27 pm #17714313

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

🙂