Skip Navigation

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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

Tagged: ,

This topic contains 3 replies, has 1 voice.

Last updated by Andreas W. 16 hours, 24 minutes ago.

Assisted by: Andreas W..

Author Posts
December 18, 2024 at 7:10 pm #16527304

gregoryT-4

Background of the issue:
I am trying to translate pages with WPML. I encountered issues while translating the page at hidden link. On December 2nd, the translator attempted to translate this page.

Symptoms:
I am seeing lots of PHP Warnings for simplexml_load_string() in the PHP error log and errors in WPML --> Support --> Error Logs.

There is a recurring error in the error log: '2024/12/18 5:07:39 PM XLIFF Server Communication The xliff file could not be read. 4124 122037531 {"downloadUrl":"hidden link'.

I tried to cancel the In Progress jobs for this page under WPML --> Translation Management --> Jobs, but the jobs don't go away after being cancelled. The status changes to 'In progress - Needs update' and the errors continue in the logs.

Questions:
How can I resolve the simplexml_load_string() PHP warning?
How can I resolve the errors shown in the WPML Error Logs?
Why do the translation jobs not disappear after being cancelled?

December 18, 2024 at 7:13 pm #16527310

gregoryT-4

Here are the errors shown in the PHP Error Log:

Fatal error shown on December 2nd:

[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: br line 139 and strong in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): olor: #603594;color: #603594;<strong style="">2. Written Reflection<br></strong> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 143 and p in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): 上學術提升之旅Separator TextSeparator TextSend inquiry諮詢課程   </p> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): �意寫作;電影;表演藝術:音樂與舞蹈;互動與多媒體。</p> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): >4. 比賽結果</strong><br>比賽得獎者將於 2025 年 11 月公佈。 </p> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Sequence ']]>' not allowed in content in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): �500美元</li><li>珍珠獎:250美元</li><li>榮譽獎:100美元</li></ul> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: p line 144 and target in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): /li><li>珍珠獎:250美元</li><li>榮譽獎:100美元</li></ul>]]></target in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 145: parser error : Opening and ending tag mismatch: p line 144 and trans-unit in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():       </trans-unit> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():                    ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 324: parser error : Opening and ending tag mismatch: strong line 139 and body in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():     </body> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():            ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 325: parser error : Opening and ending tag mismatch: br line 139 and file in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():   </file> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():          ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Opening and ending tag mismatch: br line 139 and xliff in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():         ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag target line 136 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():         ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag trans-unit line 134 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():         ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag body line 17 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():         ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag file line 3 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():         ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag xliff line 2 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Warning:  simplexml_load_string():         ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[02-Dec-2024 22:26:40 UTC] PHP Fatal error:  Uncaught WPML\TM\ATE\API\RequestException: The xliff file could not be read. in /wp-content/plugins/sitepress-multilingual-cms/classes/ATE/class-wpml-tm-ate-jobs.php:79
Stack trace:
#0 /wp-content/plugins/sitepress-multilingual-cms/API/ATE.php(54): WPML_TM_ATE_Jobs->apply('<?xml version="...')
#1 [internal function]: WPML\TM\API\ATE->applyTranslation('4118', '31115', '<em><u>hidden link</u></em>...')
#2 /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Array, Array)
#3 /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Maybe.php(106): WPML\FP\{closure}('<em><u>hidden link</u></em>...')
#4 /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Functor/Applicative.php(13): WPML\FP\Just->map(Object(Closure))
#5 /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(383): WPML\FP\Just->ap(Object(WPML\FP\Just))
#6 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Object(WPML\FP\Just), Object(WPML\FP\Just), Object(WPML\FP\Just))
#7 /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#8 [internal function]: WPML\FP\{closure}(Object(WPML\FP\Just), Object(WPML\FP\Just), Object(WPML\FP\Just))
#9 /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(150): call_user_func_array(Object(Closure), Array)
#10 /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Maybe.php(144): WPML\FP\Fns::WPML\FP\{closure}(Object(stdClass))
#11 /wp-content/plugins/sitepress-multilingual-cms/classes/ATE/REST/PublicReceive.php(93): WPML\FP\Just->chain(Object(Closure))
#12 /wp-includes/rest-api/class-wp-rest-server.php(1292): WPML\TM\ATE\REST\PublicReceive->receive_ate_job(Object(WP_REST_Request))
#13 /wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wpml/tm/v1/ate...', Array, NULL)
#14 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))
#15 /wp-includes/rest-api.php(449): WP_REST_Server->serve_request('/wpml/tm/v1/ate...')
#16 /wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
#17 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#18 /wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#19 /wp-includes/class-wp.php(418): do_action_ref_array('parse_request', Array)
#20 /wp-includes/class-wp.php(813): WP->parse_request('')
#21 /wp-includes/functions.php(1336): WP->main('')
#22 /wp-blog-header.php(16): wp()
#23 /index.php(17): require('...')
#24 {main}
  thrown in /wp-content/plugins/sitepress-multilingual-cms/classes/ATE/class-wpml-tm-ate-jobs.php on line 79

Continual PHP warnings shown that correspond with entires in the WPML Error log that correspond at the times for the error: The xliff file could not be read.

[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 140: parser error : Opening and ending tag mismatch: br line 140 and strong in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): olor: #603594;color: #603594;<strong style="">2. Written Reflection<br></strong> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): 上學術提升之旅Separator TextSeparator TextSend inquiry諮詢課程   </p> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): �意寫作;電影;表演藝術:音樂與舞蹈;互動與多媒體。</p> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): >4. 比賽結果</strong><br>比賽得獎者將於 2025 年 11 月公佈。 </p> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Sequence ']]>' not allowed in content in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): �500美元</li><li>珍珠獎:250美元</li><li>榮譽獎:100美元</li></ul> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: p line 144 and target in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): /li><li>珍珠獎:250美元</li><li>榮譽獎:100美元</li></ul>]]></target in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():                                                                                ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 145: parser error : Opening and ending tag mismatch: p line 144 and trans-unit in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():       </trans-unit> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():                    ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 324: parser error : Opening and ending tag mismatch: strong line 140 and body in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():     </body> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():            ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 325: parser error : Opening and ending tag mismatch: br line 140 and file in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():   </file> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():          ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Opening and ending tag mismatch: br line 139 and xliff in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():         ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag target line 136 in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():         ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag trans-unit line 134 in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():         ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag body line 17 in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():         ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag file line 3 in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():         ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag xliff line 2 in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string(): </xliff> in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[18-Dec-2024 17:07:39 UTC] PHP Warning:  simplexml_load_string():         ^ in /home/araliacom/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21

WPML Error log entry that corresponds with the PHP warnings above

2024/12/18 5:07:39 PM	XLIFF Server Communication	The xliff file could not be read.	4124	122037531

{"downloadUrl":"https:\/\/ate-production.s3proxy.wpml.org\/translated_xliffs\/xliffs\/086\/213\/663\/original\/translated_120773945_Ocean_Awareness_Contest20241203-10160-1r6ctxt.xliff20241203-19924-1p5t7vl.xliff?Expires=1735146458 <removed the rest>
December 21, 2024 at 2:00 pm #16536590

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Could you please provide more details about how the original content was created? Are you using your own HTML markup here?

If I valdate the source code of the original content I get:

Trailing slash on void elements

In HTML5, void elements (like <link>, <img>, <br>, <meta>, etc.) do not require a trailing slash (e.g., <link />). It is considered outdated to use the trailing slash on self-closing elements, and modern browsers do not require it.

Example:
<link rel="alternate" hreflang="en" href="hidden link" />

Should be updated to:
<link rel="alternate" hreflang="en" href="hidden link">

Best regards
Andreas

December 21, 2024 at 3:35 pm #16536739

gregoryT-4

Hi Andreas,

The original content is created using Elementor. We then will do the translations to other languages using WPML.

We are not creating our own HTML markup. We do not have any custom code nor other customizations to themes, etc on the website.

December 21, 2024 at 3:51 pm #16536746

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

I'm happy to offer to take a closer look.

I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/.

If you are not able to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

Best regards
Andreas

December 21, 2024 at 7:50 pm #16536964

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I edited the original content "Ocean Awareness Contest" and saved it.

Then I made sure, that the contents are translated to 100% and that all HTML markers are set as expected. There was at least one bold texts for list items, that needed to be set.

Currently the content is translated completely into the other languages.

December 21, 2024 at 7:55 pm #16536968

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies, the issue seems to be back if I reopen the translations.

I need some more time to investigate this.

December 21, 2024 at 8:11 pm #16536988

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

If I exclude the posts slug (Part of URL for this content) from translation and let WPML generate the slug based on the title of the post, it solves the issue.

Related setting:
WPML > Settings > Translated documents options > Page URL.

I will try to recreate this issue on a new test site and then get back to you.

December 21, 2024 at 10:13 pm #16537087

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

When testing with the latest beta versions of WPML 4.7.0 and WPML String Translation 3.3.0 the issue does not longer opccur.

I suggest for now, you use those updates, which are available at wpml.org or you do not translate the slugs.

Also, take note, that at the moment it appears to be expected, that once a slug is translated but it is identical to the slug of the original post, you will need to apply the translation again when opening the translation the next time.

I am currently asking our ATE Team about how far this behavior is expected and if there are plans to solve such issue.

Workaround:
Make sure to translate the slug and use a different slug in each language.

December 21, 2024 at 10:29 pm #16537088

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I just spoke to the Second Tier Support for issues with the Advanced Translation Editor.

Take kindly note that this slug translation issue will be solved in the next update for the Advanced Translation Editor.

You will not need to update any plugin for this fix. The Advanced Translation Editor runs on an external server and our devs will implement the fix into this server soon.

For now, please avoid translating the slugs, so that you will be able to complete the translations.