Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing fatal errors on certain WPML Translation Management pages and had issues when trying to add a page in a different translation. The client also mentioned that no error file was generated when attempting to troubleshoot.
Solution:
1. We recommended enabling WPML's debug logging to identify the specific errors. This involves editing the

wp-config.php

file to set

WP_DEBUG

to true and adding lines to log errors:

ini_set('log_errors', TRUE);<br />ini_set('error_reporting', E_ALL);<br />ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

This setup creates an

error_log.txt

file in the site's root directory, which could help in diagnosing the issue.
2. As an alternative solution, since the client had not yet placed any translations, we suggested resetting WPML to start fresh. This can be done through WPML->Support->Troubleshooting->RESET WPML. It's important to note that this action will erase all work done by WPML and is not reversible.

If these solutions do not resolve your issue or seem outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.

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.

Tagged: 

This topic contains 5 replies, has 3 voices.

Last updated by Bobby 1 year, 2 months ago.

Assisted by: Bobby.

Author Posts
May 6, 2024 at 12:05 pm #15597156

stefanH-68

Hi, i've had some help from Dražen Duvnja, the plugin had some pages that got a fatal error. Dražen Duvnja removed some of them, but still got issues on
Translation Management
hidden link

and when you try to Add a page thats in a different translation
hidden link

May 6, 2024 at 12:18 pm #15597244

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,

Before this ticket is assigned to one of my colleagues I kindly ask you to describe step-by-step how to reproduce the issue and share some screenshots or create a video where the issue can be seen. That way, when one of my colleagues takes this ticket he/she will have enough information to work with and help you solve the problem.

May 6, 2024 at 12:53 pm #15597404

stefanH-68

Hi Carlos,

hidden link

May 7, 2024 at 12:17 am #15599469

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07: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 14, 2024 at 7:07 am #15623467

stefanH-68

Hi, the error file is not generated. I I tried to change the hidden link URL to the exact path where the public HTML is, I still no success.

Since we haven't placed any translations yet, can't we just erase everything related to WPML and Resinstall? We are in a Cloudways environment; I cannot imagine it has anything to do with the setup.

May 14, 2024 at 8:06 pm #15626963

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Without knowning the exact error it is hard to tell what is causing this, however, yes if you have not done any work with WPML yet, you can RESET and start fresh again.

Go to WPML->Support->Troubleshooting->RESET WPML, which will reset WPML, allowing you to start fresh.

Do note that this will erase all work done by WPML and it is not reversible.

May 15, 2024 at 8:10 am #15628167

stefanH-68

Great, this worked