Skip to content Skip to sidebar

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
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

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

Tagged: 

This topic contains 25 replies, has 0 voices.

Last updated by Carlos Rojas 12 hours, 31 minutes ago.

Assisted by: Paola Mendiburu.

Author Posts
November 1, 2025 at 4:54 am #17537098

myleneG

Background of the issue:
I am experiencing constant 500 errors linked to WPML. It's been a week, and these errors occur randomly but consistently. I had to deactivate the main plugin from the live website. The issue is also present on the sandbox site where the plugin is active: hidden link. I have tried reinstalling wp-admin and wp-includes, isolated the bug to the WPML main plugin, deactivated some less essential plugins, and reverted to an older version 4.7.6, including WooCommerce Multilingual and String. I also referred to this forum topic: https://wpml.org/forums/topic/php-fatal-error-in-sitepress-multilingual-cms-classes-wp-core-hooks-post-class-wpml-remove-pages-not/.

Symptoms:
I am encountering constant 500 errors on my website. I expected to see no 500 errors, but they persist.

Questions:
How can I resolve the constant 500 errors linked to WPML?
Is there a specific configuration or update needed to prevent these errors?

November 3, 2025 at 9:47 am #17540063

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,
My name is Carlos, and I will continue working on this ticket

I kindly ask you to follow these steps to get more information about the cause of the error:
- Go to the wp-content folder -> debug.log file -> Rename the debug.log file to debug-old.file -> Save the changes
- Make sure the debug mode is active as described by the AI chat or as described in this guide: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
- Reproduce the 500 error
- Check the new debug.log file that was automatically created and share the last fatal error message in it

This information will help us identify the cause of the issue.

Note: Please let me know if you need assistance following the steps described.

Looking forward to your message.
Regards,
Carlos

November 10, 2025 at 3:56 am #17560545

myleneG

I'm sorry, it seems I didn't get a notification of this reply, I'll do so within 24hrs, thank you

November 10, 2025 at 9:48 am #17561134

Carlos Rojas
WPML Supporter since 03/2017

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

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

Sure. I will be waiting for your message.

November 11, 2025 at 1:17 am #17564556

myleneG

can you set me as private, will send a file url, thx

November 11, 2025 at 8:56 am #17565227

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi there,

Sure, I have set your next message private so you can securely share the information.

Also, please share the access credentials to the site in the next message and confirm you have created a full site backup that you can restore if necessary. This will allow me to double-check the configuration and try to reproduce the issue.

November 11, 2025 at 2:05 pm #17566769

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for sharing the credentials requested and the debug info.

However, I need to ask you to deactivate the 2FA Authentication plugin because I can't access the site backend correctly.

November 13, 2025 at 2:27 am #17573179

myleneG

done through FTP (sorry for delay, not getting notifs)

November 13, 2025 at 7:24 am #17573396

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi there,

I was double-checking the description of the issue, and you mentioned that the issue also persists in the staging site; however, the staging site you mentioned is different from the staging site you shared. I have tried to reproduce the issue, but everything is working correctly on the site you shared.

Can you describe step-by-step how to reproduce the 500 error?

November 13, 2025 at 5:03 pm #17576282

myleneG

Sorry, yes i had to create another staging site since and the way to replicate is annoying but you have to navigate between that pages until it does it. The bug seems to be a memory leak.
I was gonna replicate it for you but it seems you have deactivated wpml, so it won't do the bug !

I am not saying the source is 100% wpml necessarily, might be a conflict, but I can tell you for sure it wont happen if wpml is deactivated.

November 13, 2025 at 5:04 pm #17576283

myleneG

Do you want me to reactivate wpml and replicate the bug?

November 14, 2025 at 8:53 am #17577798

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

This is Paola and I will continue with the ticket as Carlos is off.

To find out the details of the error you are getting, could you do the following?
- Access the wp-config.php file (located in the WordPress root).
- Insert these lines just before /* That's all, stop editing! Happy blogging. */

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

Please reproduce the issue, then access the debug log here: /wp-content/debug.log and copy and paste the information into your next reply.
More info: https://wordpress.org/support/article/debugging-in-wordpress/

Having this report will help us find the root of the problem.

November 16, 2025 at 4:53 am #17581242

myleneG

This was first asked when I opened ticket, can I ask if anything was done since as this can take a while to trigger, tried for last 15 minutes.

November 17, 2025 at 2:28 pm #17584458

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

Sorry about that.

I have enter to your site, I don´t see any error related to WPML. Also I am not getting any 500 error.

Please let me know where I can reproduce the problem.

Also you can follow this:
https://wpml.org/faq/how-to-debug-performance-problems/

November 17, 2025 at 3:43 pm #17584948

myleneG

Do you know what is a memory leak? It is only produced after many clicks. It would happen after a few hours on the main site, when people brought in trafic. I had replicated it after 15 minutes when someone of your support first replied to me.
Now that the staging site has no trafic and it's been a while since I reported it, we need to go back throught the process by clicking on things for at least 15 minutes, it's really time demanding and wish it would be taken care of rapidly when I manage to spend that much time on it.
Sorry but its the busiest time of year. I can try replicating again tonite, will get back to you