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.

This topic contains 9 replies, has 3 voices.

Last updated by michaelD-67 2 years, 9 months ago.

Assigned support staff: David.

Author Posts
February 11, 2019 at 11:23 am #3182506

michaelD-67

After I FOLLOW your instructions for update to a new version I have these errors in my FRONT PAGE (HOME):
arning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Warning: levenshtein(): Argument string(s) too long in /var/www/108319/108319/documentRoot/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php on line 101

Please Help becaussr my client is very ungry for this!

Michael Diamantidis
Vision Computer Applications
Greece

February 12, 2019 at 5:02 pm #3189938

Amit
Supporter

Hi,

I am sorry for this.

We have just released a new WPML version - 4.2.1 that should fix this issue, can you please update and let us know if the issue is still there?

You can read more about the release here - https://wpml.org/2019/02/wpml-4-2-1-with-stability-improvements-and-bug-fixes/

Thanks!

February 12, 2019 at 5:28 pm #3190020

michaelD-67

Dear Sir,
Thank you for your support, I install the new version and the update run normally BUT I have the same errors in Home Page.
Thanks in advance!
Michael Diamantidis

wpml.jpg
February 12, 2019 at 6:43 pm #3190434

David
Supporter

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

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

The levenshtein function takes strings of a maximum of 255 characters.
But it only used for translating slugs so its strange that you have a slug longer than 255 characters.

Can you share access details to take a look at how it could be happening?

Meanwhile, I'm sending this information to the development team for fixing.

You can add this line to wp-config.php to hide the errors while we fix it.

define( 'WP_DEBUG_DISPLAY', false );

February 12, 2019 at 7:53 pm #3190632

David
Supporter

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

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

I was able to disable WP_DEBUG with the FTP details.
I hope this will keep your customer happy while we work on resolving the issue.

I am setting up a sandbox site to test your issue on a fresh site.
I will get back to you shortly with my findings.

February 12, 2019 at 8:40 pm #3190821

David
Supporter

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

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

The reason for the errors seems to be a couple of slugs from "The Events Calendar".

Does this mean anything to you? I am tempted to simply remove these 2 strings.

Screenshot 2019-02-12 at 21.39.21.png
February 12, 2019 at 10:58 pm #3191207

David
Supporter

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

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

In any case, I have passed the information to our developers for fixing.
I will let you know the outcome.

February 13, 2019 at 6:52 am #3192300

michaelD-67

Dear Sir,
Thank you for your support. The Events Calendar don't used right now but my client will use it in the future. These string are mean nothing and must be deleted.
Thanks in advanced!
Michael Diamantidis
Vision Computer Applications
Greece

February 13, 2019 at 8:24 am #3192530

David
Supporter

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

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

1) I removed both strings now, the problem should be gone

2) I also informed our development team of the 255 limit for slugs. It will be fixed in next release.

3) I recommend you to keep WP_DEBUG set to false on production sites, but do let me know if you prefer that I leave it as it was.

February 13, 2019 at 10:17 am #3193226

michaelD-67

My issue is resolved now. Thank you! Keep WP_DEBUG set to false I don't mind.
Thanks in advance!
Michael Diamantidis