I'm having an issue with WPML and auto-translating scheduled posts. We're batch importing posts to import and have them translated when published. It works perfectly locally but on our staging site it's throwing these errors:
PHP Fatal error: Uncaught TypeError: WPMLTMATEHooksJobActions::cancelJobInATE(): Argument #1 ($job) must be of type WPML_TM_Post_Job_Entity, null given, called in /var/www/vhosts/calian.stage.tbkdev.com/html/dev/calian.com/src/wp/wp-includes/class-wp-hook.php on line 324 and defined in /var/www/vhosts/calian.stage.tbkdev.com/html/dev/calian.com/src/app/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/JobActions.php:31
Stack trace:
Can you please confirm that this is the site with the problem?
hidden link
My colleague Lauren suggested you click "Check for updates" on the plugins -> add new -> commercial tab. You said that there were security settings in place that did not allow adding or updating plugins from the dashboard.
Did you remove those security settings and be able to click the "Check for updates" option?
On the site with the problem, please proceed with the following.
1. Take a backup of your site's DB.
2. Go to WPML -> Support -> Troubleshooting (link)
3. Once on the troubleshooting screen, press the following buttons and check if it helps. Press each button at a time and wait for the process to complete.
- Synchronize local job ids with ATE jobs
- Synchronize translators and translation managers with ATE
4. Check if it solves the problem. *** Please make a backup of your database before using this.***
If it doesn't solve the problem, please let me have access to your site so I can check the issue. If you need further help with this, please share the access details to your site with me.
I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
Regards,
Itamar.
The topic ‘[Closed] Error sending translations’ is closed to new replies.