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: America/Los_Angeles (GMT-08:00)

This topic contains 6 replies, has 2 voices.

Last updated by Bobby 1 year, 7 months ago.

Assisted by: Bobby.

Author Posts
May 1, 2023 at 1:11 pm #13565235

federicoB-41

Hello! We are getting HTTP ERROR 500 when clicking main WPML link in WordPress dashboard (please see the screenshot attached). This started happening after migrating the site from a different server. What to do?

Näyttökuva 2023-05-01 160711.png
May 1, 2023 at 1:12 pm #13565259

federicoB-41

Oh and the same error occurs when trying to access "Translation management" page too.

May 2, 2023 at 5:51 am #13566841

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hello,

I would need to see the detail of the error. You can see how to enable debug logging here:
https://wpml.org/documentation/support/debugging-wpml/

Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . 'https://cdn.wpml.org/error_log.txt');

This will create an error_log.txt file in your site's root directory. Please send me its contents.

May 2, 2023 at 6:28 pm #13573607

federicoB-41

Thanks, I did what you advised but log file doesn't appear.

Näyttökuva 2023-05-02 212746.png
Näyttökuva 2023-05-02 212620.png
May 4, 2023 at 6:33 am #13583027

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Sometimes you have to trigger the error first before it is registered to the error log the first time.

If possible try reproducing the error first and then check if the log was generated.

Let me know your results, please.

May 9, 2023 at 3:49 pm #13615567

federicoB-41

Sadly still nothing. I've added the lines as you requested as you can see from the screenshots. What can we do?

May 9, 2023 at 8:29 pm #13617441

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

The topic ‘[Closed] WPML dashboard gives HTTP ERROR 500’ is closed to new replies.