跳到内容 跳到侧边栏

標籤: 

本主题包含 0 則回覆 ,有 0 voices 。

最后由 gregoryT-4 1 months, 1 weeks前 更新。

协助者:: Bruno Kos.

作者 帖子
24 10 月, 2025 于 5:24 上午

gregoryT-4

Background of the issue:
I am trying to translate a page on my website using WPML. A similar error has occurred before, and I have a previous ticket for reference: https://wpml.org/forums/topic/xliff-server-communication-and-php-warnings-simplexml_load_string-issues/. The page I am trying to translate is: 隐藏链接. I expected to be able to translate the page successfully.

Symptoms:
The translations cannot be saved properly. As previously, the slug is not being translated. I am seeing lots of PHP Warnings for simplexml_load_string() in the PHP error log and errors in WPML --> Support --> Advanced Translation Editor / Error Logs. Specific error messages include: 'PHP Warning: simplexml_load_string(): Entity: line 136: parser error : Opening and ending tag mismatch: target line 136 and p' and 'PHP Warning: simplexml_load_string(): Entity: line 136: parser error : Sequence ']]>' not allowed in content'.

Questions:
Why are the translations not being saved properly?
How can I resolve the PHP Warnings related to simplexml_load_string()?