Skip to content Skip to sidebar

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

Problem:
When attempting to create a new KO translation from an English page after deleting the previous KO page, a critical error occurs, preventing further actions.
Solution:
First, ensure that all WPML plugins are up to date. If the problem persists, enable the debug log to identify the underlying issue. To do this:
1. Open your

wp-config.php

file.
2. Locate the line

define('WP_DEBUG', false);

and change it to:

define('WP_DEBUG', true);

3. Add another line to enable error logging to a file on the server:

define('WP_DEBUG_LOG', true);

Errors will be saved to a debug.log file inside the /wp-content/ directory. For more detailed instructions on debugging WPML, visit https://wpml.org/documentation/support/debugging-wpml/

If these steps do not resolve the issue, it may be due to an outdated solution or a different problem. We 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 with us 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 1 reply, has 2 voices.

Last updated by Andrey 1 year, 8 months ago.

Assisted by: Andrey.

Author Posts
May 28, 2024 at 9:55 pm #15681134

Malia Krahn

Hello,

2. When I delete the KO page and attempted to create a fresh new KO translation from the English page, I see a critical error and cannot go forward.

May 28, 2024 at 9:59 pm #15681136

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

You first need to make sure that you have updated all WPML plugins.

If there is still a problem, you can enable debug.log. You can add a few lines to the site’s wp-config.php file. With the error log enabled, you will see the actual problem.

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

To enable the error logging to a file on the server, you need to add yet one more similar line:

define( 'WP_DEBUG_LOG', true );

The errors will be saved to a debug.log log file inside the /wp-content/directory.

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

Let me know what you see after the debug.log after the debug mode has been enabled.