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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

Supporter timezone: Europe/Madrid (GMT+02:00)

Tagged: ,

This topic contains 32 replies, has 2 voices.

Last updated by Carlos Rojas 2 days, 10 hours ago.

Assisted by: Carlos Rojas.

Author Posts
May 9, 2025 at 9:07 am #17015385

ericH-23

Background of the issue:
I am working on a site under development and trying to manage a large database caused by WPML. I have a glossary that is not functioning correctly, but it works on a staging site.

Symptoms:
I have a huge list of strings that are not used or they are linked to the wrong translation data. The glossary has an error and I cannot use it.

Questions:
How can I fix the glossary error in my system?
Why are the strings not used or linked to the wrong translation data?

May 9, 2025 at 12:47 pm #17016680

ericH-23

By using some improvemnets from the troubleshooting page I got this error

Error Details
=============
An error of type E_ERROR was caused in line 103 of the file /xxxxx/wp-content/plugins/wpml-string-translation/classes/slug-translation/new-match-finder/wpml-st-slug-new-match-finder.php. Error message: Maximum execution time of 300 seconds exceeded

May 9, 2025 at 2:38 pm #17017126

ericH-23

Hi,
I discovered that bthe glossary items are stored in a wpml cloud with connection with my account. So I deleted the connection. By this I had the message, there are no entries and then I started again and added this string "{{option key:shortcode_for_search_in_place}}", and the same error occurs. Can you please check, whether it is possible to add a string with {{xxx}}. I need this because herewith a content is dynamically added.
Thanks, kind regards
Eric

May 9, 2025 at 2:46 pm #17017138

ericH-23

So, now I’m a bit lost: I disconnected my main site from WPML in order to reset the glossary (I had read that disconnecting and reconnecting is easily possible).
However, now I’m unable to reconnect the site.

Do I need to re-enter my credit card details for the Pay-as-you-go automatic translation service?
What happens to the outstanding translation balance or invoices that were associated with the site before disconnecting?

Any guidance would be greatly appreciated.
Thanks, kind regards
Eric

May 9, 2025 at 2:57 pm #17017174

ericH-23

Hi,

I’ve added a second entry to the glossary, and now it shows that there are two entries—but I can only see one. Could you please verify this in the export?

Feel free to split this ticket into separate topics as needed. Initially, I wasn’t sure if all the issues were related.

So far, we seem to be dealing with the following:

- Glossary problem
- Reconnection problem
- Large number of unused strings or incorrectly linked translation data
- A fatal error: Type E_ERROR in line 103

Thank you!
Eric

Bildschirmfoto 2025-05-09 um 16.52.36.png
May 9, 2025 at 7:25 pm #17017800

ericH-23

Topic: glossary terms

Dear WPML Support Team,

I connected a staging site (an exact 1:1 copy) to the main site in order to share and manage the glossary terms. This worked initially — I deleted all glossary terms, and the main site no longer showed any (hidden by error) terms.

However, when I add a new glossary term, it only appears on the staging site. On the main site, the same error message appears again, and the new term does not show up.

This leads me to believe that the connection between the main site and the WPML cloud is broken or corrupted. I already tried disconnecting and reconnecting the main site, but the issue persists.

Could you please investigate this?

Thank you very much in advance.

Kind regards,
Eric

May 12, 2025 at 5:35 am #17020968

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Just to confirm—you connected the sites as shown in this guide, but the glossary item you added on Site A does not appear on Site B?
https://wpml.org/documentation/automatic-translation/automatic-translation-subscription-for-multiple-sites/#how-to-connect-your-sites

Could you share login access for both sites so we can try adding a glossary item to one and observe what happens on the other? From what I understand, the glossary item doesn't show up, but the error message mentioned above appears in the logs of that site—is that correct?

May 13, 2025 at 5:31 pm #17029336

ericH-23

Hi,

Were you able to look into the situation yet?

Thanks and kind regards,
Eric

May 14, 2025 at 10:29 am #17031619

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello Eric,
Thank you for sharing the additional context and access details.

From your explanation, it's clear that:
- The staging site (a recent copy) works correctly with the glossary, even without disabling any plugins.
- The main site, despite having an identical environment, is encountering a fatal error related to the glossary, as confirmed by your console and the failure to load or apply glossary terms.
- Reconnecting WPML did not resolve the issue and led to the glossary entries disappearing from the main site view.

Given this, here are the next steps:
1.- Glossary Error Troubleshooting
Based on the error you're seeing (wpml-st-slug-new-match-finder.php), it seems the glossary sync fails during data retrieval or rendering. This could be due to:
-- Caching issues
-- Corrupt glossary sync metadata on the main site
-- Server resource limits or timeouts

2.- Immediate Steps to Try:
- Please go to WPML → Support → Troubleshooting on the main site, and click:
-- "Clear cache in WPML"
-- "Remove ghost entries from the translation tables"
-- Then, visit WPML → Settings → Glossary and test glossary sync again.

3.- PHP Error Logging:
- If the error persists, enable WordPress debug mode by adding the following to wp-config.php:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

- Then trigger the glossary error again and check the log at /wp-content/debug.log for more insight.

4.- Plugin/Theme Conflict Check (Selective):
- Although the environments are the same, if the staging site was restored using a different method (e.g. migration tool vs manual clone), subtle differences may exist.
- Consider re-saving permalinks, re-syncing glossary terms, and clearing any server-level cache (e.g. from hosting or CDN).

We’re here to help and will continue to investigate as needed. Please confirm if we can log in and run some tests directly on the main site or if you prefer to apply these steps first and report back.

May 18, 2025 at 8:04 pm #17046070

ericH-23

Hi Carlos,

Thank you, I have followed most of the the steps, and although I did not deactivate all plugins, I did disable many that are known to use JavaScript heavily or interfere system-wide. Unfortunately, there has been no improvement — the glossary still does not work.

The credentials are still active. It would be extremely helpful if you could assist professionally with this issue. I truly rely on the glossary functionality and would be very grateful if it could be restored.

Thank you very much.
Eric

May 20, 2025 at 8:34 am #17051462

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Eric,
Thank you for your message

I visited the staging site and:
1.- I kindly ask you to update all outdated plugins that appear outdated in this link: hidden link

2.- In WPML -> hidden link">Translation Management you can see (at the top) that there are 7 entries in the Glossary. The same number of Glossary entries can be seen in WPML -> Translation Management -> hidden link">Translation Tools tab -> Glossary tab, so the number of glossary entries matches the banner.

If you still see the problem with the Glossary, please share a link to a video describing step-by-step how to reproduce it. This will help me reproduce the problem on my end.

3.- I recommend registering this staging site again in your wpml.org account (remove the actual staging site and add it again to generate a new site key), then unregister the site in Plugins -> Add new -> Commercial tab and register it with the new key.

May 20, 2025 at 11:18 am #17052342

ericH-23

Hi, I updated the staging site and connected it new to the main site, the credentials are the same. Here is a video: hidden link

Can you check this please?

Please set this ticket to private.

Thanks, kind regards
Eric

May 20, 2025 at 11:40 am #17052489

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Eric,
Thank you for sharing the video.

I understand you are expecting the Glossary in the staging site to be synchronized with the one in the production site. Glossary terms are not synced between sites, however, you can export/import them as described in our official documentation: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/how-to-create-and-manage-glossary-entries/#importing-glossary-terms

May 20, 2025 at 12:59 pm #17052806

ericH-23

Hi,

When I connected the staging site, I noticed something unexpected: the glossary items from the main site appeared there. That was actually the first time I could view, edit, and delete them — and the changes applied directly to the main site. I’ve tested it again just now: adding a glossary item on the staging site increased the number of items on the main site. So the connection definitely works in that direction.

However, that’s not my issue. I don’t need the staging site for syncing — the problem is that on the main site itself, I can’t access or use the glossary at all. That's where the error occurs, and that’s what I need help with.

There are currently incorrect translations that I could fix using the glossary — but only if it works. So I really hope you can help resolve the error on the main site soon. That would be very much appreciated.

Thanks and kind regards,
Eric

May 20, 2025 at 1:36 pm #17053095

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Eric,

We are closer to solving the problem. Please unregister the production site and register it again with a new registration key. Then double-check if the issue has disappeared.