Background of the issue:
I am trying to export translation jobs to XLIFF. The issue can be seen on this page: hidden link.
Symptoms:
Instead of receiving a zip file with translation jobs, I encountered an error. The error details are: An error of type E_ERROR was caused in line 498 of the file .../wp-content/plugins/sitepress-multilingual-cms/inc/wpml_zip.php. Error message: Uncaught Exception: Unable to send file 'translation-job-2-87.zip'. Headers have already been sent from '.../wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders-field-wrapper.php' in line 121.
Questions:
Why am I unable to export translation jobs to XLIFF?
How can I resolve the error related to sending the zip file?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
It is likely that some code in your custom theme or inside a plugin is causing this issue when running together with WPML.
Could you please create a copy or staging of the website and try running it with a minimal setup to see if the issue persists?
1) Deactivate any additional plugins that are unrelated to WPML and our add-ons.
2) If the issue goes away, start reactivating plugins one at a time or activate them in small groups. This way, check where the issue recurs to identify the plugin causing the problem.
3) If this doesn't resolve the issue, please switch to a standard theme like Twenty Twenty-One to see if the issue might be theme-related.
Once we identify the cause, we can attempt to replicate the issue and then escalate it internally. I will provide a test site with WPML in this case.
If you're unable to set up a copy of your website, please let me know and I'll be happy to assist you.
Best regards,
Andreas
The topic ‘[Closed] Translations export to XLIFF’ is closed to new replies.