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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.