Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with WPML String Translation and encounter an error at

wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:100

, it might be due to the use of non-Latin characters in your child theme folder name.
Solution:
We recommend renaming your child theme folder to use only Latin characters. Here's how you can do it:

  1. Backup your website.
  2. Access your website files and navigate to
    wp-content/themes/

    .

  3. Rename the child theme folder to a name with Latin characters, for example:
    blocksy-child

    .

  4. Go to your WordPress dashboard, under Appearance > Themes, and reactivate your child theme.

If this solution doesn't seem relevant to your issue, please open a new support ticket with us.

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.

Tagged: 

This topic contains 13 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 8 months ago.

Assisted by: Christopher Amirian.

Author Posts
October 28, 2023 at 12:34 pm

raymonts

wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:100

October 28, 2023 at 1:15 pm
October 28, 2023 at 1:30 pm #14683815

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I have checked the website on the copied version and the same issue is happening there.

This suggests that the issue is happening because of the migration and it is not related to a code or something.

Most probably something is wrong in the database as the issue happens as soon as Elementor is enabled and that shows the content inside the database might have a mismatch due to migration.

I suggest that you do a migration using another plugin and see the result.

You can use one of the plugins listed here other than the Vivid plugin:

https://wpml.org/plugin-functionality/backup-migration/

Thanks.

October 30, 2023 at 12:10 pm #14690811

raymonts

I deleted the website and remigrate using All in one Migration
and still have the problem

October 31, 2023 at 8:12 am #14697189

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Would you please provide the login information to the dev version of the website that is working ok? Please make sure you set the next reply as private.

I will try to do the migration to our server from there and let's see what will be the result.

Thanks.

October 31, 2023 at 12:29 pm
October 31, 2023 at 1:49 pm #14700571

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for the information. The copying is started and I will inform when it is finished.

Thanks.

October 31, 2023 at 2:13 pm #14700789

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

How come the dev website and the live website have the same URL?

Would you please give me the link to a website that works for you?

The dev one that you have mentioned.

October 31, 2023 at 2:18 pm #14700837

raymonts

this is dev site
hidden link

November 1, 2023 at 2:58 pm #14708469

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you the dev website is the one that needs to be copied to our server to test if the migration works ok on our server or not.

Would you please give the login information for the dev website as the one that I had did not work there.

Make sure the next reply is set as private.

Thanks.

November 1, 2023 at 4:10 pm
November 2, 2023 at 1:56 pm #14717439

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there.

Thank you. I copied the website to the server of ours and the issue is happening there after the migration.

I spent some time to see if I could find the cause of the issue with no result.

I reported this to the second-tier support.

I will update you here as soon as I have news.

Thank you.

November 5, 2023 at 2:23 pm #14733209

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I have an answer from the second tier support:

The problem is the child theme folder.
It is "%d8%a8%d9%84%d9%88%d9%83%d8%b3%d9%8a-child" and this creates the problem because we try to parse a path which contains 14 arguments that we expect them to be filled.

Please rename the name of the child theme folder to a latin normal characters.

Thanks.

November 5, 2023 at 2:58 pm #14733361

raymonts

I'm not able to enter themes?
Can you change it?
also how this work in dev site and not work for live site?

November 6, 2023 at 6:17 am #14734679

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

You can enter themes what do you mean by that?

The issue is the name of the theme which is not in latin words. You should change the name of the theme to normal one.

Access your website files. Go to wp-content/themes/ and you will see what I mean (Check the screenshot)

The name of folder should be in latin not Arabic characters (which then turns into those characters as some servers can not handle non latin folder names).

Please backup your website, change the folder name to for example: blocksy-child

Then go back to Appearance > Themes and activate your child theme again and it should work

Thanks.

Screenshot 2023-11-06 at 10.15.38.png