This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: America/Los_Angeles (GMT-07:00)
Tagged: ATE
This topic contains 24 replies, has 1 voice.
Last updated by Bobby 1 day, 11 hours ago.
Assisted by: Bobby.
Author | Posts |
---|---|
July 2, 2025 at 3:03 pm #17193896 | |
conoI |
I appreciate you escalating this to your ATE team. To answer your question: Yes, when I recreated the page (e.g., "Tecnologia B+"), I did build it entirely from scratch. On our end, these newly created pages successfully saved and translated without issues, displaying correctly on the frontend. I'll look forward to any feedback from your ATE team regarding this persistent issue with products and the original pages. |
July 2, 2025 at 8:22 pm #17194772 | |
ianstudio |
Why si this issue so widespread yet we all have to ask fo help individually as we were the odd case out ? This is driving me bonkers as well. hidden link |
July 3, 2025 at 10:36 pm #17199484 | |
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hi there, We are still reviewing this issue and will update you as soon as I have some feedback, at the moment it looks like the XLIFF is corrupted. While I am able to export it and import it manually the delivery is being rejected. @ianstudio, I understand this can be frustrating, however, this is one of those issues where there is no one size fits all solution. You might be experiencing this for many reasons, when using the automatic translation editor, there is a communication that happens between your site and the cloud servers. If something breaks this communication, be it a recent migration that was not properly done, a corruption in the records, a corrupted entry in the XLIFF, etc. then you will get this behavior. It looks like you have an existing open ticket with our support, if it's not related to this issue I'd advise opening one so we can review and debug it. |
July 7, 2025 at 6:24 am #17206186 | |
conoI |
We'll wait for an update then, thank you |
July 8, 2025 at 3:49 am #17211618 | |
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hi there, We were able to locate the issue and what is causing this behavior. The pages with this issue, have the following string "<- Torna a tutte le Tecnologie" The "arrow" is being sanitized by the system when included in the XLIFF as it's believed to be a comment, therefore the XLIFF ends up not matching when delivering the translation and causing this error. Please try the following workaround: 1. Edit the page in question or a page that is using this string "<- Torna a tutte le Tecnologie" with Elementor 2. Remove <- from the string 3. Replace with an arrow Icon if needed and update 4. Update the translation It should save as expected. You can also watch me working through this and the steps I took here: |
July 8, 2025 at 7:27 am #17212156 | |
conoI |
Dear Bobby, Thank you very much for the detailed explanation and for locating the cause of the issue with the pages. The analysis regarding the "<-" string being sanitized and corrupting the XLIFF is very clear, and we will apply the workaround on those specific pages. We also appreciate the Loom video demonstration. However, we need to reiterate that the same "stuck in progress" problem, along with critical errors on saving, also affects ALL of our products. This has been a consistent issue throughout our correspondence and is still unresolved. To be very clear: Product Translations are Stuck "In Progress": Just like with the original problematic pages, our product translations remain with the "In corso..." status in the WPML backend even after being fully completed in the Advanced Translation Editor. We are also unable to cancel these stuck translation jobs; they simply remain in that state. Critical Error on Product Save: When attempting to save any product, we consistently encounter a fatal critical error on the site. We previously provided the full debug log for this specific error, which points to: PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /home/customer/www/staging5.almagra.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php:282 This error indicates a critical issue within WPML's core translation management (sitepress-multilingual-cms) when synchronizing or processing product data, specifically via WooCommerce Multilingual. Given that the "<-" string was identified as the culprit for pages, could a similar character or string sanitization issue, or perhaps a data type mismatch, be occurring within our product data (e.g., product descriptions, short descriptions, attributes, or custom fields) that is causing this TypeError and blocking product translations/saves? The current workaround you provided only addresses pages with that specific arrow string. We need a diagnosis and a solution for the product translation issues, as they are completely blocked by this critical error. Please investigate if the problem with products is related to the same XLIFF corruption logic, or if there's a different underlying conflict with WooCommerce Multilingual that prevents product translations from finalizing and saving. Thank you for your focused attention on this critical product issue. |
July 9, 2025 at 9:00 pm #17221100 | |
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Thank you for updating us! Regarding the products. - I was able to sent a product to translation and it was delivered as expected. See screenshot, please. Are there specific products with this issue? - I was not able to reproduce the Fatal Error on the staging site. |
July 10, 2025 at 8:50 am #17222521 | |
conoI |
We appreciate you testing on our staging environment and confirming that you were able to send a product to translation and that it was delivered. However, we are still encountering significant problems with products, and it seems our specific use case is at the root of the issue. The problems persist when we attempt to update or translate our existing Italian products to English. Here’s a detailed breakdown of the issues we are facing with products: Errors when Updating/Saving Existing the English translation of Italian Product: When we try to update the translation of an existing English product (which was originally created by duplicating the Italian content), we receive a critical error on the site (the same error previously seen, as per the screenshot attached to my last message). We believe this is directly related to our specific workflow for managing downloadable files. For these products, we use an ACF field called "File Scaricabile" which links to a PDF. This PDF must be different for each language. The only method we've found to correctly attach a different PDF for the English translation via this ACF field is by duplicating the Italian product first, then editing the duplicate's "File Scaricabile" field. Our primary goal is to be able to correctly translate our WooCommerce products, ensuring that the "File Scaricabile" (ACF field) can link to a different PDF for each language. Therefore, we need clear guidance on: What is the correct and recommended workflow in WPML/ACF to attach a different downloadable PDF file for each language of a WooCommerce product? Is our "duplication" method for the ACF file field fundamentally flawed, or is there a WPML setting we're missing? Why are we still receiving the critical TypeError when saving products, regardless of whether they were duplicated or not? Could this error be related to how WPML processes downloadable file paths or ACF fields during synchronization/save? We urge you to investigate these points thoroughly. We believe all these issues are interconnected and stem from how WPML and WooCommerce Multilingual and ACF handle complex product data, especially custom fields like downloadable files. We need a comprehensive solution that allows us to manage our multilingual products efficiently and without errors. Thank you for your urgent attention to this matter. |
July 10, 2025 at 9:49 am #17222887 | |
conoI |
Subject: Urgent Update: Site Moved to Live / WPML ID Management & Walkthrough Confusion Dear Bobby, Following my previous message regarding the persistent product translation issues and the critical error, I need to provide an urgent update regarding our site environment. We have proceeded to push the previous staging environment (the one we were debugging on) to our live site, as it was in a significantly better and more stable condition than our previous live version. With this change, we are now particularly concerned about how to manage the WPML site ID and organization ID. As you know, we previously encountered significant issues due to mismatched or duplicate organization IDs, which you kindly consolidated for us. A key part of our past confusion stemmed from how WPML handles installations pushed from staging to live. WPML was initially installed and configured on the staging environment for testing. When this staging site was then pushed to live, the WPML ID management wizard appeared on the new live site. However, the options presented within this walkthrough seemed to treat our new live site as if it were the staging environment, and the staging as if the were the live. We are now receiving the warning on the image in our staging Could you fix this for us? we are not sure on how to proceed |
July 10, 2025 at 4:29 pm #17225034 | |
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hi there, Please provide me with the URL you are currently using. Also go to WPML->Support->Installer Support and share with me a screenshot of that page. This documentation will go over how to properly migrate from staging to live and vice versa Regarding the Fatal Error -- Fatal error: Uncaught TypeError: Illegal offset type in isset or empty .... This is a known issue that we have resolved in the latest version of WooCommerce Multilingual. Please update WCML to version 5.5.1 and it will resolve the fatal error you are receiving. See Documentation (No need to do the workaround, simply update the plugin): Before you can update you have to resolve the error about communication first. Go to Plugins->Add new->Commercial tab->unregister -> re register with a new key. The system is not recognizing the site key and URL as they do not match. Let me know your results, please. Once these 2 items are resolved we can examine the workflow you are using and if there is a better way. The way you are doing it right now is acceptable and should not cause issues. |