Skip Navigation

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

Problem:
The client is experiencing issues with logging into their WordPress admin in different languages and editing translated pages using Elementor and Yoast SEO. They encounter a redirection issue where the login page switches domains, and credentials do not work unless the browser cache is cleared. Additionally, when editing translated pages, Yoast SEO does not appear in Safe Mode, and a PHP deprecated error related to the rtrim() function is displayed.

Solution:
We recommend the client to ensure that their browser cache is cleared regularly to prevent login issues. For the PHP deprecated error, it is advisable to check the PHP version and update it if necessary, as older versions might not fully support current WordPress functionalities. Regarding the issue with Yoast SEO not appearing in Safe Mode, this is expected behavior as some plugins are disabled in Safe Mode to ensure stability and performance. If editing with Elementor is required for translated pages, we suggest contacting Elementor support for compatibility assistance with WPML, as Elementor may not inherently support editing WPML-generated translations.

Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, please open a new support ticket.

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 0 replies, has 0 voices.

Last updated by Kor 1 week, 4 days ago.

Assisted by: Kor.

Author Posts
January 9, 2025 at 4:59 pm

ronaldT-5

Background of the issue:
I am trying to review the translated texts and check the SEO of the translated page using Yoast SEO. The issue can be seen at hidden link. Also, when trying to log in to home-alarm.ca/wp-admin, often times it reverts to alarme-maison.ca/wp-admin to which the credentials do not work. I have to clear the browser cache every single time to gain access to the dashboard. This problem comes up after trying to edit any of the translated pages.

Here the debug info off the host server:

[09-Jan-2025 16:38:32 UTC] PHP Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/customer/www/home-alarm.ca/public_html/wp-includes/formatting.php on line 2819
[09-Jan-2025 16:39:56 UTC] PHP Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/customer/www/home-alarm.ca/public_html/wp-includes/formatting.php on line 2819

Symptoms:
I am unable to edit the translated page and am being requested to load with Safe Mode. Yoast SEO does not show up in Safe Mode. I received a Safe Mode warning and this error: Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/customer/www/home-alarm.ca/public_html/wp-includes/formatting.php on line 2819.

Questions:
Why am I being requested to load the page with Safe Mode?
How can I make Yoast SEO appear in Safe Mode?
What does the deprecated error message mean and how can I fix it?

January 9, 2025 at 5:25 pm
January 9, 2025 at 5:25 pm #16579253

Kor
Supporter

Languages: English (English )

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

Thanks for your patience.

Here is the ticket and please let me know how it goes.

January 12, 2025 at 6:35 am #16585150

ronaldT-5

Elementor is looking into it as we speak, but still no outcome yet.

January 12, 2025 at 4:27 pm #16586118

Kor
Supporter

Languages: English (English )

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

Ok, please let me know how it goes.

January 14, 2025 at 11:17 am #16592509

ronaldT-5

I was told that Elementor editor cannot open WPML translated pages. And I think not only should Elementor be able to open the translated pages, but allow for editing directly into Elementor, and WPML should thereby update its database accordingly without having to edit existing translations within the ATE.

-------------------------- REPLY FROM ELEMENTOR -----------------------------------

But Elementor can only edit pages created using Elementor itself.

The translated pages are generated by WPML and they using different structure which Elementor does not understand.

This would a a feature request suggestion you can raise with WPML but then again they have to be compatible with the normal pages as well, which do not use builder.

I would recommend you to raise a feature request with WPML for a possibility in the future.

January 14, 2025 at 4:13 pm #16594008

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Did you make any changes on your end today? Because everything seemed to work fine when I tested it just now hidden link

January 15, 2025 at 6:31 am #16595593

ronaldT-5

Well, I did a restore on my Mac to an earlier date via my backups.

Two questions:

1) Why is your WordPress showing up in French? Mine is showing up in English.

2) The issue is very much alive for me. I'm using Chrome for Mac. See the attachment.

Screenshot 2025-01-15 at 1.25.34 AM.jpg
January 15, 2025 at 6:34 am #16595610

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

1. It's the language option in my profile. I did not adjust it. I don't think it has anything to do with this.

2. Try clearing your Chrome browser cache and see if it works for you. I've tested it a couple of times and it worked for me.

January 15, 2025 at 11:02 pm #16599418

ronaldT-5

1. Do you speak French?

2. Yes, clearing the caches did the trick even though I had done so before.

January 15, 2025 at 11:37 pm #16599431

ronaldT-5

Also, I never get an email notification anymore when you reply to me.

January 16, 2025 at 7:29 am #16599907

Kor
Supporter

Languages: English (English )

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

Thank you for your response.

1. Apologies, I do not speak French. If you would prefer assistance from a French-speaking support agent, please feel free to open a new chat or ticket in French.

2. This appears to be a browser-related issue, and I am currently unable to replicate it.

3. At the top of this ticket, there should be an option to configure email notifications as shown in the attached screenshot. Could you check if that is available?

Screenshot_213.jpg
January 16, 2025 at 4:57 pm #16603193

ronaldT-5

1. Why would you use WordPress in French then?? Personally, I only work in English.

2. Perhaps

3. Okay, thanks for that.

January 16, 2025 at 5:05 pm #16603204

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I was trying my best to replicate the issue so referring to the screenshot you shared(attached) on live chat, it shows the Canada flag above the pencil icon. So, in order for me to have the same Canada flag, I changed the language to French using the language switcher on the admin bar.

Ok, let's keep this ticket open for a couple of days. If the issue comes back, just ping me here ok?

16579209-Screenshot_2025_01_09_at_12.16.53_PM.jpg
January 16, 2025 at 5:07 pm #16603223

ronaldT-5

The Canada flag stands for the English language, not French.