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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

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

This topic contains 7 replies, has 1 voice.

Last updated by Andrey 1 day, 8 hours ago.

Assisted by: Andrey.

Author Posts
March 4, 2025 at 2:09 am #16771282

shanyM

Background of the issue:
I am trying to make the WPML plugin work. The issue can be seen at this link: hidden link.

Symptoms:
There has been a critical error on this website. Instead of seeing the admin panel of WPML, I got a fatal error message.

Questions:
How can I resolve the critical error on my website?
What steps should I take to access the WPML admin panel?

March 4, 2025 at 6:01 am #16771467

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Before this ticket gets assigned to one of my colleagues, I will try to help.

That is a general error message and we can't know what is causing the error until we don't dig a bit deeper.

Let us share the steps that you can use to find out more about what is the actual error when you see a general error message like that one.

We can enable the WordPress debug log and recreate the issue to see if we are getting a longer error message that is more specific.

This will allow us to see if any PHP errors are being produced.

In order to do that, we can edit the wp-config.php file inside our WordPress directory and insert the following lines:

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

Now, we can try to reproduce the issue once again.

We should now be able to locate the debug log in: /wp-content/debug.log

Paste the content (if any) on a site like pastebin.com and then share the link with us (only you and us will see the URL you are sharing, it is automatically hidden for anyone else).

Relevant Documentation:
https://codex.wordpress.org/Debugging_in_WordPress

Please let us know how things go.

Mihai Apetrei

March 4, 2025 at 1:07 pm #16774233

shanyM

https://pastebin.com/cDZB1Byt
I had to delete first thedebug file it was 4gb.

March 4, 2025 at 8:58 pm #16775966

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Does the same issue occur when you try the following steps?

1. Download fresh copies of WPML from https://wpml.org/account/downloads/.
2. Disable the WPML plugins.
3. Delete the plugins (note that the settings and translations will be saved in the database and will not be deleted).
4. Upload the freshly downloaded WPML plugins by going to Plugins -> Add New -> Upload Plugin.
5. Activate the plugins.

Please let me know how it goes. Before making any changes, make sure to back up your database first.

March 5, 2025 at 3:31 am #16776448

shanyM

Seem to fix the issue, but i dunno if i make a mistale. i rename folder; wpml-media-translation_ and wpml-string-translation Did both of them been reinstalled?

March 5, 2025 at 3:48 am #16776451

shanyM

As soon I try reactivate string translation i immiedialty get again te error if i try acces wpml. so its comming from the wpml string translation but we need it.

March 5, 2025 at 3:52 am #16776452

shanyM

I redownload string translation and same error. will be way more easy if you took a look.

March 5, 2025 at 10:27 am #16777766

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for your feedback.

We are aware of a similar issue that has been reported, and our development team is currently investigating it.

In the meantime, please follow this workaround to help resolve the issue: https://wpml.org/errata/wpml-string-translationstringtranslationinfrastructurestringgettextrepositoryfrontendqueuejsonrepository-php-on-line-36/.

Before making any changes, please ensure that you back up your database.