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.

This topic contains 12 replies, has 2 voices.

Last updated by Eran Helzer 1 year, 11 months ago.

Assisted by: Eran Helzer.

Author Posts
August 1, 2023 at 1:54 pm #14134955

Norbert Kocsis

Dear Team!

I use your plugin often.

One website of my client is having trouble to show translated content on front end.

My main problem is the page named "Főoldal" is our main page and has been translated 100%. ATE says it as well.
I also tried to make a new page as "Címlap" but the same results I have.
Both Főoldal and Címlap means Home Page in hungarian.

However, the page on frontend neither have English translation nor English flag except when I change Language switcher to refer to Home for language. But this page would be Home in English.

I discovered that all the pages having trouble to save, then change the + sign to pencil. They except getting a rotary refresh button, that wont changes to anything else.
When I refresh this page, the refreshing button gets lost and a cogwheel comes up. No pencil which would be the "Saved & Finished" status for translations.

I think something stuck while saving but there are no errors I get.
The admin page editor also says there is a translation being processed but I saved every changes before.

Using the latest Elementor and Elementor Pro plugins and the latest WPML plugins

I set debug log to the debug.log file in wp-content as well that says only a PHP Notice: Undefined property: stdClass::$status_id in/sitepress-multilingual-cms/classes/ATE/class-wpml-tm-ate.php on line 57

I also tried to cancel in progress jobs but the two sites wont canceling it keeps telling me translation is in progress - needs update.

Képernyőfotó 2023-08-01 - 14.47.08.png
August 2, 2023 at 9:14 am #14140279

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Can you please check the WPML -> Support -> Advanced Translation Editor -> Error Logs tab and see if there are any errors there? If so, please share a screenshot of the page.

Also, when you go to the WPML -> Translation Management -> Jobs tab, are there any errors? If so, are there also errors in the DevTools console?

I checked on our end and I see that the website was previously on another domain, correct? If so, please make sure you updated the sitekey. In order to make sure this isn't the issue, let's reregister the site with a new sitekey.
Please do the following:
- Unregister WPML
https://wpml.org/faq/install-wpml/#unregister
- Remove the sitekey from your account
- Reregister WPML
https://wpml.org/faq/install-wpml/#register

Please update me with this additional information, so we know how to proceed.

August 2, 2023 at 9:22 am #14140499

Norbert Kocsis

I recently changed the site key to a brand new one to ensure this is not the case.
Also did the change to production site before.

The Error logs tab has 23 errors from May, and almost all gives "WPML has detected a change in your site's URL" but that has been resolved I guess.

Jobs tab has no errors just jobs what cannot be canceled.

I can give you temp access.

Képernyőfotó 2023-08-02 - 11.22.09.png
Képernyőfotó 2023-08-02 - 11.20.06.png
August 2, 2023 at 11:26 am #14141681

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Yes, temp access would be good.

I have set your next reply to be private so you can share credentials there.
Remember that it is always better to create a new admin user for me, then when we are done you can delete it.

August 3, 2023 at 8:46 am #14147181

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Update.

I checked and found the reason you are experiencing this issue. For some reason, the automatic translation id on your site is not correct.
This is something which we use for communication between your site and our servers, not something that is set or changed by you.

In order to fix it, I will need to install and activate specific a plugin which we use for this.

Before I can do that, I will need your permission to do so and your confirmation that you have a working backup of your site.

August 3, 2023 at 9:11 am #14147279

Norbert Kocsis

Dear Eran!

You can install the plugin, and if it is not necessary in the future, please deactivate and uninstall it after you done what you want.

Also that would be nice if you can report what you are doing to prevent this anomaly next time by our own.

We moved the site to the production server before, and changed the domain in WPML dashboard later. If this case caused the bug, it would be better if we can fix it next time.

August 3, 2023 at 11:59 am #14149325

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

I tried uploading the plugin without success.

From the site itself I am getting a missing temp folder error, and from the FTP the transfer is failing.

I would like to try uploading with all the other plugins deactivated, is that okay with you?

Also, can you verify that the FTP user you gave can upload files and folders?

August 4, 2023 at 1:19 pm #14155143

Norbert Kocsis

I uploaded every plugin to its latest version for you.

It is agreed if you try to deactivate all plugins before uploading as long as you reactivate everything as was before ASAP (yoast SEO is the only deactive plugin).

Your FTP is able to upload. Pls try again!

August 4, 2023 at 7:14 pm #14156653

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Perfect, thank you.

I performed the needed fix, and tested it on a draft page which I then deleted.
Everything seems to work fine.

Please try for yourself and update me if you are still experiencing any issues.

August 7, 2023 at 7:36 am #14161583

Norbert Kocsis

I am sorry Eran but it seems nothing has changed.

I also able to translate a brand new blank page.
That was not the problem at all.

The problem is, what I told you, there is a Main Page called "Címlap" what has a refresh button rolling to infinite and cannot save the translations. When I refresh the admin page of Pages it shows a cogwheel next to the english translation. I would like you to get this translation working.

Also I asked you to report what did you do at all.

Please have a see on Címlap page and save the translation for yourself!

Thanks
Norbert

August 7, 2023 at 8:43 am #14161951

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

I see.

The issue is probably that the old translation job is using incorrect details, from before the fix. The page itself doesn't have any issues.
I tested this by duplicating it and translating the duplicate to English.

Please do the following:
- Go to WPML -> Translation Management -> Jobs
- Cancel all jobs "In progress"
- Retranslate "Címlap"

Regarding the changes I made, all of them are as follows:
- Fix the automatic trasnlation ID
- Translate test page
- Delete test page
- Translate "Címlap - Copy"

This anomaly was not caused by anything you or we did. We know that for some reason, in some cases, this happens. It is very rare that it does, but in these cases we can fix it manually, as I did.

Please try this and tell me if it still doesn't work.

August 7, 2023 at 8:56 am #14161999

Norbert Kocsis

Thank you!

Now I can cancel jobs, but not all is able to cancel.
I cínceled Címlap now.

I also did those steps so I cant imagine what else did you do.

It was unable to cancel Jobs before, as I mentioned this as well.

August 7, 2023 at 8:58 am #14162037

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Great, happy to hear!

That is to be expected that before you couldn't cancel jobs, due to the authentication issue between your site and our servers.

Is there anything else I can help you with, or may I close this ticket and mark it as resolved?

August 7, 2023 at 9:00 am #14162071

Norbert Kocsis

Thanks, that's all.
It seems the problem was the connection then.