Home›Support›English Support›[Resolved] Unable to edit translated page, being requested to load with safe mode
[Resolved] Unable to edit translated page, being requested to load with safe mode
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.
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?
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.
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?
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?