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/Tirane (GMT+02:00)

This topic contains 8 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 4 months ago.

Assisted by: Marsel Nikolli.

Author Posts
March 6, 2024 at 10:45 am #15378464

inesB-6

I have a 500 Internal server error that disappears when I decativate WPML

March 6, 2024 at 12:00 pm #15378883

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will be happy to help you.

To allow us to see if any PHP errors are being produced, could you please provide me the WordPress debug.log. More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable debug.log, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the “.../wp-content/” directory.

If you can paste your debug.log to https://pastebin.com/ and provide me with that link, it would be great!

* Please do not share the debug.log content in the reply.

Thank you,
Marsel

March 6, 2024 at 12:13 pm #15379007

inesB-6

Hello, Thanks for your answer I pasted the Debug log

March 6, 2024 at 12:33 pm #15379244

Marsel Nikolli

Thank you for the debug information, but I would need the debug.log content as well.

Could you please follow the steps from my previous reply?

Thanks,
Marsel

March 6, 2024 at 12:40 pm #15379286

inesB-6

I pasted the debug information

March 6, 2024 at 1:06 pm #15379433

Marsel Nikolli

The debug information is the code you get from the page WPML -> Support -> Troubleshooting (which you already provided).

Except for the debug information, I need the debug.log file content, that file is created on the "/wp-content/" folder of your website after you have added the code I provided before and tried to reproduce the issue.

If you already have followed those steps and pasted the file content to https://pastebin.com/, please share the link in your next reply.

March 6, 2024 at 1:31 pm #15379655

inesB-6

https://pastebin.com/ucpic4uh

This is the link

March 6, 2024 at 2:14 pm #15379933

inesB-6

Still waiting for your reply.

March 6, 2024 at 2:38 pm #15380077

Marsel Nikolli

Thank you for sharing the link.

On the debug.log content, I don't see anything related to WPML plugins, I noticed that the logs were related to the plugins:
- WP Event Manager
- WP Event Manager - WooCommerce Paid Listings
- WPEM - REST API

* Please note that the plugins "WP Event Manager - WooCommerce Paid Listings" and "WPEM - REST API" seem they are not part of the list of compatible plugins with WPML.

---

Would it be possible to check if the issue happens in a minimal setup, meaning:

- keep the theme you have
- keep active only WPML Plugins and must-have plugins for the theme to work
- disable all other plugins

After, check if the issue is still happening.

Note: Please make sure you have a full backup (files & database) before trying anything on your website.

* I would suggest testing further in a staging site to be able to troubleshoot further the issue without affecting the live website.

Let me know if that works out for you,
Marsel

The topic ‘[Closed] I have a 500 Internal server error that disappears when I decativate WPML’ is closed to new replies.