Background of the issue:
I switched from Advanced Translation Editor to Classic Translation Editor in WPML, but this change is causing an error in WordPress. I want to make WPML create a copy of a page in another language, sync it with other languages, and allow me to translate the texts. I used the manual and checked the help database, but couldn't find the right solution. It worked fine with the paid 90,000 credits, but now that these are finished, WPML does not work.
Symptoms:
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums. The translation is active in translation management > translation jobs with status 'in progress', but no page is created.
Questions:
How can I resolve the critical error when using the Classic Translation Editor in WPML?
Why is the translation job stuck in 'in progress' status without creating a page?
How can I make WPML work without purchasing more credits?
While one of my teammates handles your ticket, I will provide you with initial debugging steps.
First, you need to see what the errors are. Guessing what might be the problem and trying different solutions may lead to even more trouble. The first step is to enable debugging. 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 file inside the /wp-content/directory.
Thanks Andrey, I have done what you asked, deleted all cache and tried again. But when I want to translate a page using WPML - or edit a translated page - I get the same error message. Please help, thanks, Gerjon
My colleague Andrey explained how to share the error with us, but you have not shared it yet.
Do you see a file called debug.log in the /wp-content/ folder of your WordPress installation?
If so, then the error should be there. Please share it with us.
Moreover, even if you consumed the 90,000 credits you received with your subscription, you can still use the Advanced Translation Editor. This is the Translation Editor we recommend using. If you switch to the Classic Translation Editor, you might lose translations from the Advanced Translation Editor.
If you need further help with this, please share the access details to your site with me. I will also need the FTP access details. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
Regards,
Itamar.
The topic ‘[Closed] WPML does not work in Classic Translation Editor (critical error)’ is closed to new replies.