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.

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by Otto 3 months, 2 weeks ago.

Assisted by: Otto.

Author Posts
March 20, 2025 at 11:03 am #16839529

stergiosT

Background of the issue:
I am trying to translate my one-page English site to Arabic using WPML. The site is hidden link. I followed the instructions, and the automatic translation worked fine except for the menu. The menu has custom links for sections like about us, my services, and contact me. I attempted to add an Arabic menu, and then the error occurred. I tried uninstalling and reinstalling WPML, but it didn't resolve the issue. The issue can be seen at hidden link.

Symptoms:
I received a fatal error. Yesterday, the error code indicated low memory for the site. I upgraded the PHP memory limit to 256, but the issue persists.

Questions:
How can I fix the fatal error when configuring the Arabic menu?
Is the low memory error related to the issue with the Arabic menu?

March 20, 2025 at 11:37 am #16839762

stergiosT

i need supporter to fix the page...how much ?

March 20, 2025 at 12:22 pm #16839904

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

What method did you use to translate the menu?
https://wpml.org/documentation/getting-started-guide/translating-menus/

As you mentioned that it has custom links I suggest to use this one:
https://wpml.org/documentation/getting-started-guide/translating-menus/#translating-menus-with-custom-links

I'd like to see the full error. To do so, can you please follow the instructions mentioned on this page: https://wpml.org/documentation/support/debugging-wpml/
Then, try to reproduce the issue and check your installation's **wp-content** folder to see if a file named **"debug.log"** was created (it will only be generated if a server error occurs).
If the file was created, please upload it to a platform like **Google Drive** or **Dropbox** (whichever you usually use) and share the link with me (make sure it is publicly accessible) so I can analyze it.

Also, if it's possible for you, I suggest you try this to help us identify if it might be a conflict with another plugin or theme that is causing the problem.
**IMPORTANT:** Please try this in a staging environment or at least with a backup of your site files and database before continuing.
Disable all plugins except WPML-related and temporarily change the theme to a default WordPress such as Twenty Twenty-five.
With these settings, is the issue resolved? If so, please reactivate one by one to see which one conflicts.

Best Regards,
Otto

March 20, 2025 at 2:37 pm #16840625

stergiosT

[20-Mar-2025 13:45:56 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

astra

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
[20-Mar-2025 13:45:56 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

twentytwentyfive

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
[20-Mar-2025 13:45:56 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

twentytwentyfour

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
[20-Mar-2025 13:45:56 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

twentytwentythree

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114

March 20, 2025 at 3:14 pm #16840913

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I noted that you are using the Astra theme and they released an update that solves a critical error:
hidden link

Can you please update it to the latest version, check also that all your plugins are updated, and see if the issue persists?

❌ Please make a full website backup before proceeding ❌

Best Regards,
Otto