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
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

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

This topic contains 6 replies, has 3 voices.

Last updated by Bigul 1 year, 5 months ago.

Assisted by: Bigul.

Author Posts
July 31, 2023 at 9:39 am #14125369

Jose

I am trying to:
Activate WPML in my site but when I do, the front office stops working (but luckily the back office works).

I expected to see:
My site running WPML as any other of my multiple multilingual sites

Instead, I got:
An "Internal Server Error" message on the Homepage (and any other webpage to be precise)

July 31, 2023 at 9:43 am #14125385

Jose

Note:
As per our client suggestion, we have deactivated WPML so at least the website works in its default language (English).
Feel free to change any setting in order to test it.
Thanks again.

July 31, 2023 at 10:07 am #14125931

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.

Usually, the 500 errors (Internal Server Errors) are related to the server configuration or server limitations being reached.

You can check our documentation to see if you meet all the WPML minimum requirements here: https://wpml.org/home/minimum-requirements/

Also, please take a look here:
https://wpml.org/faq/500-error

You can also activate WordPress debug to find out more about what is actually happening when you receive that 500 error:
https://wpml.org/documentation/support/debugging-wpml/

I hope that you will find this information helpful.

Please let us know how things go.

Mihai Apetrei

July 31, 2023 at 4:33 pm #14128887

Jose

Thanks for your help.
We meet the requirements and the links you sent me didn't help me solving this issue.

August 1, 2023 at 6:26 am #14130467

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. Please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to the following pages for instructions

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
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 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

August 1, 2023 at 9:46 am #14132501

Jose

I followed your instructions and this is the link:
https://pastebin.com/QnTVAe9p

Looking forward to hearing back from you.

August 2, 2023 at 4:54 am #14138561

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the Debug log details. But the Debug log is not showing any warning or errors related to WPML.

So please check if you are getting any error related to WPML in the server error log while having this bug. May you need your hosting team's support to access the server error log file.

Do you have a staging/dev site(a clone copy of the live site)? Because it will help us to troubleshoot the issue without affecting the live site. Because we would like to know if you are getting the expected results in a minimal setup or not. Normally we will do the following steps to track the issues like this.

a) Backup your site first[Mandatory]
b) Switch for a moment to a WordPress default theme like 2022 or 2023
c) Deactivate all the plugins that are not related to WPML
d) Then check whether the issue is existing or not
e) If the issue is gone, activate the plugins as a group of three or four to find which one has an interaction issue
f) Switch back to the original theme of the site

--
Thanks!

Bigul

The topic ‘[Closed] My site stops working when I activate WPML’ is closed to new replies.