Skip Navigation


Resolved in:

Overview of the issue

This problem happens when Advanced Translation Editor is enabled and there is at least one string translation job in progress.

Here’s the actual error:

PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_TM_ATE_Job_Repository::is_ate_job() must be an instance of WPML_TM_Post_Job_Entity, instance of WPML_TM_Job_Entity given


While we are working on a fix, here’s a way to patch the plugin.

Edit the class-wpml-tm-ate-job-repository.php file found in the ../wp-content/plugins/wpml-translation-management/classes/ATE/models/ folder and on line 21 replace:

'job_type' => WPML_TM_Job_Entity::POST_TYPE,


'job_types' => WPML_TM_Job_Entity::POST_TYPE,