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 |
|---|---|---|---|---|---|---|
| - | 8:00 – 14:00 | 8:00 – 14:00 | 8:00 – 14:00 | 8:00 – 14:00 | 8:00 – 14:00 | - |
| - | 15:00 – 17:00 | 15:00 – 17:00 | 15:00 – 17:00 | 15:00 – 17:00 | 15:00 – 17:00 | - |
Supporter timezone: Europe/Madrid (GMT+02:00)
Tagged: Bug
This topic contains 3 replies, has 0 voices.
Last updated by Paola Mendiburu 2 weeks, 6 days ago.
Assisted by: Paola Mendiburu.
| Author | Posts |
|---|---|
| April 3, 2026 at 8:46 pm #17948582 | |
|
caleri-patrizia-s.r.l.C |
Hello, I am reopening this topic with a related but more advanced issue. Previous context (summary) In a previous ticket, we confirmed that: Stock updates performed via an external connector (BindCommerce) update the WooCommerce database directly We have already understood and accepted this behavior. Current situation We are now using a setup where: Stock is updated externally for both IT and DE products We are now experiencing a serious issue with WPML Translation Management. After repeated automated updates (stock/price only), the table: wp_icl_translation_status starts accumulating a large number of entries with: translation_service = 0 These appear to be invalid or orphan translation jobs. Over time, this leads to: thousands of entries in the translation queue These updates: do NOT involve any content translation However, WPML still creates entries in the translation queue. Questions If needed, I can provide database samples or additional logs. Thank you for your support. |
| April 7, 2026 at 8:32 am #17953014 | |
|
Paola Mendiburu WPML Supporter since 11/2020
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Madrid (GMT+02:00) |
Hi there! This is Paola and I hope you are well! To find out the details of the error you are getting, could you do the following?
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Please reproduce the issue, then access the debug log here: /wp-content/debug.log and copy and paste the information into your next reply. Having this report will help us find the root of the problem. |
| April 7, 2026 at 9:15 pm #17955206 | |
|
caleri-patrizia-s.r.l.C |
Hello, thank you for your response. We have carefully analyzed the issue and we would like to provide a clearer technical explanation of what is happening on our side. --- ### 1. About the debug.log The debug log does not contain a clear or direct fatal error related to this issue. The nature of the problem is instead identified through the WordPress critical error email we receive, which is triggered when WPML tries to process translation jobs. As following a past-copy of the mail received after the critical error: "Un errore di E_ERROR è stato causato nella linea 86 del file /home/strikecalz/webapps/strikecalz/wp-content/plugins/sitepress-multilingual-cms/classes/translation-proxy/class-wpml-translation-proxy-networking.php. Messaggio di errore: Uncaught WPMLTranslationProxyApiException: (100) A general error occurred. It could be a temporary issue. --- ### 2. Observed issue We identified that the problem is related to specific records in the table: `wp_icl_translation_status` In particular, problematic rows have: * `translation_service = 0` These entries appear to be **invalid or orphan translation jobs**. We are attaching a screenshot showing this situation. --- ### 3. Key finding (important) We discovered a very precise pattern: All the affected records are linked to products that: * were already translated in the past (Italian → German) These stock updates are performed automatically by an external connector (**BindCommerce**). So: * no content changes Despite this, WPML seems to: * generate new entries in `wp_icl_translation_status` This suggests that WPML is incorrectly creating translation jobs during stock updates. --- ### 4. Temporary workaround (our fix) To restore functionality, we currently have to manually clean these corrupted entries via MySQL. Below are the queries we use. --- #### Identify problematic entries ```sql Problematic rows are those with: * `translation_service = 0` --- #### (Optional) Identify related products ```sql --- #### Backup (safety) ```sql --- #### Delete corrupted entries (fix) ```sql --- After running this cleanup, WPML starts working again correctly. --- ### 5. Conclusion Based on our analysis: * the issue is NOT caused by manual translation actions --- ### 6. What we need from you We would like to understand: 1. Why WPML creates translation jobs during stock updates We are happy to provide additional data or run tests if needed. Thank you in advance for your support. Best regards |
| April 8, 2026 at 8:44 am #17956013 | |
|
Paola Mendiburu WPML Supporter since 11/2020
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Madrid (GMT+02:00) |
Hi there! I ran some tests on my side and I was not able to reproduce the issue by updating the stock manually from the WooCommerce product editor. In those tests, updating the stock did not create a new translation job. Because of this, my current impression is that the issue may not be caused by the stock change alone, but rather by the specific way the external connector (or any custom code involved in the update process) is writing the product data. Could you try to update stock from WooCommerce directly and let me know if a new job is created? That way we can know if the issue is related to the external connector . Please let me know what you find. |
The topic ‘[Closed] WPML creates invalid translation jobs during stock-only updates (wp_icl_translation_status corruptio…’ is closed to new replies.
