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.

This topic contains 11 replies, has 2 voices.

Last updated by Bigul 1 year, 10 months ago.

Assisted by: Bigul.

Author Posts
August 4, 2023 at 8:22 am #14153511

IMASD

WPML plugins updated, site params (memory limit, etc.) above minmum required.

Screenshot01.png
August 4, 2023 at 8:32 am #14153597

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Somehow you have disconnected from the chat. So I closed it after seeing this new ticket.

Please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to the following pages for instructions

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
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 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please visit Appearnce>>Menus and check if you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

I have a request. Please upgrade the following configurations for better performance of the site.

1) Increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

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

2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details or contact your system admin/hosting provider for this purpose.

hidden link

--
Thanks!

Bigul

August 4, 2023 at 8:37 am #14153611

IMASD

The chat disconnected itself, It wasn't me. The issue persists: I'm not able to define a menu to the desired language. Plugins are updated, params valid (memory limit is 256 Mb, IT support told me that days ago, when dealing with another unrelated issue).

August 4, 2023 at 8:41 am #14153705

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Please check if you are getting any error or warning related to WPML in the debug.log while accessing the Appearance>>Menus in the primary or secondary language.

--
Thanks!

Bigul

August 4, 2023 at 9:23 am #14153991

IMASD

The language switcher appears some times, others is missing... I don't understand this behaviour.

August 4, 2023 at 9:48 am #14154175

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. So no errors or warnings in the debug.log file related to WPML, am I correct?

This sounds like a strange issue. It will be great if you can share a screencast for a better understanding.

Please tries the following troubleshooting steps after a full site backup{mandatory} and make sure the issue is existing or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options of the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

--
Thanks!

Bigul

August 4, 2023 at 9:52 am #14154179

IMASD

I'm not able to consult the debug file since I have no credentials to acces those files in the FTP.
The problem is not solved yet: now the menu changes with the language, but it's not the desired menu the one that is showing.

August 4, 2023 at 2:50 pm #14155565

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Please tries the following troubleshooting steps after a full site backup{mandatory} and make sure the issue is existing or not. It may help to resolve the issue.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options in the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

If the bug remains, please share a screencast or a couple of screenshots for a better understanding of the current problem. You can share the screencast via Google Drive or Dropbox. It will help us a lot in internal discussions.

--
Thanks!

Bigul

August 7, 2023 at 7:20 am #14161463

IMASD

Are you asking to reset the whole WPML? I will lose all the translations...

August 7, 2023 at 8:43 am #14161949

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. The WPML Troubleshooting steps will not reset WPML or the existing translations. It will only correct the translation relationship. Please check the following article for more details.

https://wpml.org/documentation/support/wpml-troubleshooting-options/

So please try it after a full site backup and let us know your feedback.

--
Thanks!

Bigul

August 7, 2023 at 9:44 am #14162553

IMASD

I think the problem is the custom fileds, they are not translated correctly for a reason. I took a different approach taking advantage of having to redesign the menu, avoiding custom links.
So let's mark the issue as solved for now.
Thank you for your help.

August 7, 2023 at 11:53 am #14163437

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the feedback. We are happy to help always. Please feel free to ping us if you need any further assistance with WPML.

--
Thanks!

Bigul