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
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
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,
With:
'job_types' => WPML_TM_Job_Entity::POST_TYPE,