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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 6 replies, has 0 voices.

Last updated by Kor 1 month, 2 weeks ago.

Assisted by: Kor.

Author Posts
April 30, 2025 at 12:53 am #16981475

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I'm seeing this error below in the log, and it points to your theme. Could you ask your theme author to check this error? It looks like it's pointing to the theme's breadcrumbs option.

[29-Apr-2025 13:42:34 UTC] PHP Fatal error: Uncaught TypeError: cnmd_is_child_term(): Argument #1 ($term) must be of type WP_Term, bool given, called in /dom36449/wp-content/themes/rainforest-replant/classes/RA/Theme/Render/class-Breadcrumbs.php on line 232 and defined in /dom36449/wp-content/themes/rainforest-replant/inc/terms.php:84

April 30, 2025 at 5:03 pm #16984996

Danielle Cranmer

I've fixed the breadcrumb issue, but the save error persists. Here's the logs from today after fixing the breadcrumbs:
https://pastebin.com/W0jGqddP

April 30, 2025 at 5:12 pm #16985038

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I'm still seeing this error. Maybe we should test with another theme?

[30-Apr-2025 16:44:14 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Error given in /dom36449/wp-content/themes/rainforest-replant/archive.php:207

April 30, 2025 at 7:10 pm #16985205

Danielle Cranmer

I've been looking through the logs and noticed a number of fatal errors like this. Instead of going one by one and correcting each one change at a time, is it possible to single out error types more likely to be related to this translation issue. We've had some of these issues for a while without any translation problems.

May 1, 2025 at 9:14 am #16986095

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Could you delete the debug log and try generating a new one? I cannot see any errors related to WPML.

May 7, 2025 at 7:25 pm #17008726

mikeD-5

Hi there,

I'm helping Danielle with this issue.

Some observations

1. when I make any change to the DE page and save, it’s not actually saved. DE reverts to EN.
2. In addition #1, if I edit the DE (which is now in EN) and save, it doesn’t save that change either; it reverts to the EN content again
3. when I modify EN, then save, that change shows in EN (as expected). When I then reload DE, it loads the modified EN.

This seems to imply that DE is somewhere set to mirror EN.

Is this ringing any bells? Can we change this behaviour to decouple them?

May 7, 2025 at 7:40 pm #17008732

mikeD-5

Also note that there are differences in the WPML sidebar for FR (that works as expected) and DE (which is being over-written by EN); see attached (FR on the right).

Specifically there is no button to "Translate independently"

Screenshot 2025-05-07 at 3.05.22 PM.png
May 9, 2025 at 6:48 pm #17017736
mikeD-5

Is there anything we can do here to speed this up?

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/page-reverting-to-base-language-english-on-save-2/

May 11, 2025 at 7:55 pm #17020656

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. My apologies for overlooking this ticket. Not sure why I'm not getting any notifications. Could you please check why I cannot access the Website? I'm getting "401 Authorization Required" when I try to open the login page.

Maybe you can temporarily deactivate the security plugin so that I could check?

Screenshot_9.png
May 12, 2025 at 2:09 pm #17023345

Danielle Cranmer

Earlier in the thread, I believe in one of the private replies, I put in the login to access the backend. If you open up another private reply I can add them again

May 12, 2025 at 5:01 pm #17024102

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. It looks like the "Server protection" is causing issues, and I'm able to log in now using the Firefox browser.

The "Translate independently" button will only appear if the translated page is a duplicate of the primary language, English.

Could you tell me which page you are working on, or perhaps you can record a short screen recording using this free tool hidden link and show us the issue so that I can try to replicate it?

If I cannot solve the issue, I will escalate this to our 2nd Tier Support for further investigation.

May 21, 2025 at 4:41 pm #17058548

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. It looks like I'm not getting notifications from your replies due to the different ownership of this ticket. I've split the ticket here https://wpml.org/forums/topic/page-reverting-to-base-language-english-on-save-2/ and that ticket belongs to you now. I will get a notification whenever you reply, and let's follow up over there. As for this ticket, I will close it to avoid duplicate.

The topic ‘[Closed] Page reverting to base language (English) on save’ is closed to new replies.