Skip to content Skip to sidebar

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:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');

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.

This topic contains 21 replies, has 0 voices.

Last updated by Carlos Rojas 3 months, 1 week ago.

Assisted by: Carlos Rojas.

Author Posts
October 14, 2025 at 9:15 am #17482489

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you for sharing the video

I ran some troubleshooting steps, and now the error should be solved.

Regarding the product author, you should follow the steps described in this guide: https://wpml.org/documentation/related-projects/wpml-export-and-import/ to correctly import the taxonomies and their translations.

October 14, 2025 at 11:47 am #17483490

bojanN-2

How do I know which product is in which language and can you give me a suggestion for what the product table should look like for import in three languages?

October 14, 2025 at 1:02 pm #17484025

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hi,

Sure! In this guide: https://wpml.org/documentation/related-projects/wpml-export-and-import/preparing-import-files-for-wpml-export-and-import/ there is a step-by-step description on how to prepare the import file.

October 14, 2025 at 8:10 pm #17485349

bojanN-2

my excel product is hidden link. Please suggest where my mistakes are and how to fix the database. SRB, EN and HU are languages ​​with individually translated products.

October 15, 2025 at 10:02 am #17486461

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hi,

Before I can check the file you share, I need you to describe what problems you are facing when importing the products.

Hint: You can export some products first and use the same file structure to import the products.

October 15, 2025 at 12:27 pm #17487004

bojanN-2

Attributes cannot be linked to each other.

October 15, 2025 at 12:51 pm #17487067

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hi,

The attributes are a kind of taxonomy. To import the taxonomies you must create a separate import file as described in the guide I shared: https://wpml.org/documentation/related-projects/wpml-export-and-import/preparing-import-files-for-wpml-export-and-import/#creating-spreadsheets-with-language-columns