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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

Tagged: 

This topic contains 13 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 1 month ago.

Assisted by: Mohamed Sayed.

Author Posts
April 2, 2023 at 6:44 am #13383477

yehudaS

I have translated my homepage to GErman and when I am opening the page it shows a white page

Veranstaltungsfotograf Berlin - SEESAW.png
April 3, 2023 at 9:40 am #13388429

Mohamed Sayed

Hi Yehuda,
Thanks for contacting WPML support, I will be glad to help you.

1) Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2) The browser console shows an error from the Debloat plugin (hidden link), could you please disable this plugin temporarily and clear the cache then check if the issue is resolved?

3) If the issue persists, please provide me with the WordPress debug.log, this will allow us to see if any PHP errors are being produced. More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, 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 by visiting the German page and check if any errors were saved to the debug.log log file inside /wp-content/ directory
If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!

Let me know please how that goes.

Regards,
Mohamed

April 3, 2023 at 2:52 pm #13391667

yehudaS

this is the paste link now the page is visible but the the issue is coming with the header I am pasting the link of the Pastebin

https://pastebin.com/CU1JSD3B

April 3, 2023 at 3:55 pm #13392681

Mohamed Sayed

Hi,

The Pastebin link shows the data from the WPML's debug info which was already provided before, the WordPress debug log is different as it shows any PHP errors triggered on your site.

I checked the German page and I see that the header is created with Elementor, Could you please confirm that the header section is translated? Please check our guide for more details about how to translate the Elemntor sections: https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

If that didn't help, please check if the issue persists in a minimal environment by following these steps:

- Deactivate all the plugins that are not related to WPML.
- Switch for a moment to a WordPress default theme like Twenty Twenty-one.
- If the issue is gone, activate one by one to see with which one there is an interaction issue.

❌ Please backup your database and website before performing the above test ❌

Regards,
Mohamed

April 4, 2023 at 2:57 am #13395477

yehudaS

By Some reason, I have fixed the header issue but when when I created the translation of my new page the old page translation is showing fine but the new translation is giving no content, and when I am trying to edit the translated page with elementor it is giving me the error that content area not found

download.png
April 4, 2023 at 12:05 pm #13399477

Mohamed Sayed

Hi,

I checked the homepage and I can see it translated and the content exists, please see here hidden link but there are some missing items in the navigation menu and the footer.

First, the navigation menu:

1. Make sure that all the pages/posts added as menu items are translated (https://wpml.org/documentation/getting-started-guide/#translating-your-site-yourself)

2. Once all the menu items are translated, please follow our guide to translate the menu https://wpml.org/documentation/getting-started-guide/translating-menus/#option-2-translating-menus-manually

Second, the footer:

1. Please make sure that any post, page or taxonomy added to the footer is translated. Kindly check this guide for more details about how to translate the taxonomies: https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/#translating-your-taxonomy-terms-from-a-central-menu

2. For the footer widget titles, please use String Translation to translate them as described here: https://wpml.org/documentation/getting-started-guide/translating-widgets/#translating-widgets-using-string-translation

Regards,
Mohamed

April 7, 2023 at 4:12 pm #13428339

yehudaS

I am translating this page
hidden link
but when I make the translation complete it is showing a blank page do I have to register the elemenetor widget to see this content or anything else

April 9, 2023 at 12:38 am #13432545

Mohamed Sayed

Hi,
Sorry for the late reply due to the weekend.

If you're using custom Elemntor widgets and can't see them in the WPML translation editor, please follow this guide to register them for translation: https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/

Once the XML config is added, please update the original page then check if you can see the content in the WPML's translation editor.

Let me know please how that goes.

Regards,
Mohamed

April 11, 2023 at 6:31 pm #13449471

yehudaS

Hi I have not translated all the post so I thought that there could be issue that the posts are not translated yet so the blog page is blank when it is translated so for testing I created a page and and translated the post and embed it there and translated the page but the issue is still there it shows a blank page how can I solve this what is the possible reason for this

April 11, 2023 at 8:07 pm #13450011

Mohamed Sayed

Hi,

The page you translated before is working now hidden link

Could you please tell me how did you fix the issue for this page? It could be a caching issue if you didn't make any changes. Please make sure to clear the cache once the translation is completed

If that didn't help, please provide the following:

1. A link to the page you just created

2. The steps you follow to create the post, embed it to the page and translate it

3. A temporary access (WP-Admin and FTP) so I can investigate this issue further.
– preferably to a test site where the problem has been replicated if possible –

Your next answer will be private, which means only you and I have access to it.

❌ Please backup your database and website before providing us with access details ❌

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

✙ I would also need your permission to take a local copy of your site to debug the issue without affecting your live site.

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks for your cooperation

April 12, 2023 at 7:27 am #13452557

yehudaS

Hi I translated all the posts and registered the elementor widget and the issue was fixed now the only issue I am seeing is this page hidden link this page is showing complete white in german version what could be the possible reason for that

April 12, 2023 at 9:26 am #13453857

Mohamed Sayed

Hi Yehuda,

I'm glad to hear that the issue is resolved for all posts now. Regarding the portfolio page issue, I see that you've changed the Language URL format from Language name added as a parameter to: Different languages in directories.

So the correct URL should be: hidden link

It works fine for me as you can see here: hidden link, I also see that the original page has no content hidden link so there are no issues with the German page.

Kindly clear the cache of your site and browser then check the page again.

April 12, 2023 at 2:35 pm #13456855

yehudaS

I don't know why you are not being able to see the content on the original page as I can see the content even in incognito mode and there is no content on the Germán page there was no issue with the permalinks

April 12, 2023 at 9:03 pm #13459831

Mohamed Sayed

Hi,

The original page doesn't show any content even on incognito (Just shows the header and footer). Please see here how it looks on an incognito page: hidden link

As you see here hidden link the page shows German language only when I change the URL to hidden link but with the language parameter (?lang=de) it shows English language.

Could you please send me a screenshot showing how the original page looks on your side?

Also, please provide me with temporary access (WP-Admin) so I can investigate this issue further.
– preferably to a test site where the problem has been replicated if possible –

Your next answer will be private, which means only you and I have access to it.

❌ Please backup your database and website before providing us with access details ❌

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks for your cooperation

The topic ‘[Closed] Page is showing complete white screen after translating’ is closed to new replies.