Skip Navigation

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

Problem:
The client was unable to open the page editor due to a critical error. Disabling the WPML plugin allowed the editor to open. When translating with WPML, the client received a 100% and Translation completed message, but the translation list showed the status as in progress. Changing text did not resolve the issue.
Solution:
First, we suggested the client to cancel stuck jobs by navigating to WPML > Support > Troubleshooting and clicking on 'Cancel Automatic Jobs in Progress'.
Secondly, we proposed two potential solutions:
1. We theorized that the issue might be due to the PHP version 8.1.22-he.0 not being fully compatible with WordPress, as detailed here: https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/. We recommended temporarily switching back to PHP version 7.4 to see if the issue persists.
2. As a workaround, we suggested cloning the page and opening it with the WordPress editor, which could resolve a potential corrupted file issue in the database. The client could then set the cloned page as the homepage and retranslate it from scratch.

Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If the issue persists, 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 necessary, 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 10 replies, has 2 voices.

Last updated by bennoD 1 year, 4 months ago.

Assisted by: Ilyes.

Author Posts
February 2, 2024 at 4:59 pm #15260366

bennoD

I wanted to edit my page but there is a critical error that keeps the editor from opening. Stopping the WPML plugin lets me open the page in edit mode. When I translate using WPML I get a 100% and Translation completed message. But in the translation list it keeps the status of in progress. I tried to change some text but it won't make a difference.

February 3, 2024 at 12:08 am #15261505

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thanks for contacting WPML support.

Please check if you are getting any errors or warnings related to WPML in the WordPress Debug log or Server Error Log while having this issue. May you need your hosting team's support to access the server error log file.

To enable WP debug log, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

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 which is recommended on a live site.

define('WP_DEBUG_DISPLAY', false);

@ini_set('display_errors',0);

Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory

If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!

February 3, 2024 at 4:19 pm #15262434

bennoD

Hi,
the problem that I have is that I can not redo the process as it is not finishing the current translation job. Let me explain. I have made changes to the original (German) version and translated myself using the WPML tool. It gave a positive response and did the translation job. But: the translation status stayed as in progress. I stopped the job but as you can see on the last screenshot something is still trying to translate.
I have had the issue earlier and a colleague of yours sent me a solution by deleting the translation and have it redone. I just can't remember how I did it. Could you please have a look at the attached screenshots? Thanks

2024-02-03 17_05_25-Seiten ‹ UNEX BI — WordPress und 1 weitere Seite - Persönlich – Microsoft​ Edge.png
2024-02-03 17_04_43-Übersetzungsmanagement ‹ UNEX BI — WordPress und 1 weitere Seite - Persönlich – .png
2024-02-03 17_01_47-Übersetzungen ‹ UNEX BI — WordPress und 1 weitere Seite - Persönlich – Microsoft.png
February 3, 2024 at 5:34 pm #15262550

bennoD

In addition:
I did use a backup to return to a previous version and made the changes to wp-config. The issue remains the same but no log-file was created.
I can still not edit my homepage. Other pages are ok. Deactivating WPML Multilingual CMS plugin lets me edit the page. And the ever rotating translation in progress status seems to be the issue. I am using Avada Theme. WordPress and all plugins are up to date.

February 5, 2024 at 6:24 pm #15267971

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

I would like to ask for temporary access to your site’s wp-admin.

Kindly provide me with the link of this post type/section. I could then check it for you.

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

hidden link

For your privacy and security, please ensure that you make your reply a private one.

Best regards,

February 7, 2024 at 6:10 pm #15278467

bennoD

I have tried to enter my Log-in credentials in the form provided but ist seems to be read only. Would it be ok if I post it here (private chat)?
(Thanks for your help)

February 8, 2024 at 3:43 am #15279513

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

I have opened the form again, which will be private.

If for some reason it didn't work, please send the access directly to my email ilyes.b@onthegosystems.com .

Best,

February 12, 2024 at 6:16 pm #15294464

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for the access,

I have checked your site and it was rather simple to remove the stuck job, you can do it from WPML > Support > Troubleshooting (Fehlerbehebung) > Cancel Automatic Jobs in Progress, here is a screenshot of the button : hidden link

I do not see any errors related to this in the background nor the connection with ATE servers, I'm assuming this is a temporary issue. Please let us know if it repeats and share the workflow you followed to translate it.

Thanks!

February 15, 2024 at 9:16 pm #15309514

bennoD

Thank you Ilyes, I did not know about this option. You are right, it does stop the job. But it did not solve the issue.

If you try to edit the "UNEX-BI Home" page in backend mode (not in live view) an error message is shown and no edits can be made.
When deactivating WPML changes can be made. So it has something to do with the plugin.

May I ask you to have another glance at my website? Thank you so much!

February 16, 2024 at 3:57 pm #15312343

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

I have installed a couple of plugin to get more info on the issue, but the error log isn't logging anything,

I have one theory and one possible workaround.

1- Theory : I see you are using the PHP version 8.1.22-he.0 , this version isn't entirely compatible with WordPress itself as you can read here : https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
And by result, it might be the cause as WPML is also not entirely compatible with that version, so as a further test, could you change the PHP version back to 7.4 temporarily and see if the issue persists.

2- Workaround: When cloning the page, I was able to open it with WordPress editor, I think it could be a corrupted file issue in the database, and that's why i simply recommend to clone the page, set it as homepage and retranslate it from scratch>

Would that be a suitable workaround?

Best,

February 16, 2024 at 5:25 pm #15312728

bennoD

Thanks for your valuable support Ilyes. Going back to PHP 7.4. ist not offered by my host but I tried 8.2. which does not solve the issue. But your workaround sounds good to me and gives me the opportunity to do some changes to the design on the way. So I am good. Thanks again.