This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing PHP warnings related to the
simplexml_load_string()
function in the WPML plugin's class-wpml-tm-xliff-reader.php file. These warnings include parser errors such as 'Opening and ending tag mismatch' and 'Sequence "]]>" not allowed in content'. Solution: We recommended the following steps: 1. Increase the WordPress memory limit to at least 128MB, as per our minimum requirements. This can be done by adding the following line to the wp-config.php file:
Place it above the line /* That's all, stop editing! Happy blogging. */. 2. For issues related to product author and attributes, follow the steps described in our guide on how to correctly import taxonomies and their translations. You can find the guide here: https://wpml.org/documentation/related-projects/wpml-export-and-import/
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I am experiencing issues with my WordPress site at hidden link while using the WPML plugin. I am trying to resolve PHP warnings related to the simplexml_load_string() function in the WPML plugin's class-wpml-tm-xliff-reader.php file.
Symptoms:
PHP Warning: simplexml_load_string() function is generating parser errors, including 'Opening and ending tag mismatch' and 'Sequence ']]>' not allowed in content'.
Questions:
Is there any documentation that you are following?
I kindly request that you describe the steps to reproduce the issue on the site. In other words, when does this problem appear? Also, please share the original error message so we can gather more information to work with.
Hi there,
Thank you for sharing the debug information
1- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`
- Add it above the line /* That's all, stop editing! Happy blogging. */
You can double-check the WordPress memory limit in WPML -> Support
2.- Also, share a URL where the issue can be seen. You can attach some screenshots or share a link to a video reproducing the problem. This way, we can see the problem clearly and follow the same steps on our side.
[09-Oct-2025 20:17:23 UTC] PHP Warning: simplexml_load_string(): ^ in /home2/antikvar/dev32.antikvar.rs/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
I can't link attribute translations from two other languages. For example: Author in Serbian, when importing it automatically creates it in English as well. ATTRIBUTE AUTHOR
Please share a URL where the issue can be seen. You can attach some screenshots or share a link to a video reproducing the problem. This way, we can see the problem clearly and follow the same steps on our side.
You haven't answered any of the questions I posted. We can't solve the problem if you don't cooperate.
Please share a URL where the issue can be seen. You can attach some screenshots or share a link to a video reproducing the problem. This way, we can see the problem clearly and follow the same steps on our side.