Skip Navigation

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

Problem:
The client is trying to optimize the English version of the homepage but is facing issues with the translated page not appearing and the menu item "Homepage" not being displayed.
Solution:
We noticed that the client's website does not meet the minimum memory requirements for WPML to function properly. We recommend increasing the WP Memory Limit to at least 128MB, with 256MB being preferable. To do this, add the following code to the wp-config.php file:

define( 'WP_MEMORY_LIMIT', '256M' );<br />define( 'WP_MAX_MEMORY_LIMIT', '512M' );

For more details on how to edit the wp-config.php file, please visit Editing wp-config.php.

Please note that this solution might not be relevant if it's outdated or not applicable to your case. If after trying the above steps you still encounter issues, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please do not hesitate to open a new support ticket with us.

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 1 reply, has 2 voices.

Last updated by Lucas Vidal de Andrade 9 months, 2 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
March 1, 2024 at 11:42 am #15362637

christofS-12

I am trying to: optimize the English version of the homepage

URL of the/my website where the problem occurs: hidden link

I expected to see: A translated page and the menu item \"Homepage\"

Instead I got: no translated page and the menu item \"Homepage\" is not displayed at all.

March 1, 2024 at 1:52 pm #15363236

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for sharing the information. I checked your debug info and noticed that your website doesn't have the minimum memory required for WPML to work. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit in your wp-config.php file by adding the following code:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

See:

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

for details. Increasing WP Memory may help improve the performance and sometimes also help resolving such issues.