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

Supporter timezone: Europe/Madrid (GMT+02:00)

Tagged: 

This topic contains 8 replies, has 3 voices.

Last updated by Marcel 1 year, 9 months ago.

Assisted by: Marcel.

Author Posts
September 4, 2023 at 3:58 am #14333281

pangF

I am trying to: save the main menu bar to primary

Link to a page where the issue can be seen:

I expected to see: with the WPML Multilingual CMS on should be seen the same

Instead, I got: the menu bar deselected "primary" and the second language is not showing at least the flag isn't there.

September 5, 2023 at 7:11 am #14340281

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand that you're having some issues with the menu when the WPML is enabled. If you set up the menu before installing the WPML plugin, you might experience some issues with the menu configuration upon activating the WPML plugin. Please follow the steps mentioned below and check if you're getting the expected results.

- Please go to the "Appearance > Menus" section keeping the WPML plugin activated.
- Check if the Menu is showing there for the default language[English].
- If the menu is there, please select the menu as primary and save the changes.
- As you're using performance optimization plugins on your site, make sure to clear all kinds of caches after saving the changes.

I hope the menu configuration will remain the same after making these adjustments.

Now, if you want to show a language switcher with the menu, please make sure that a language switcher is configured with the menu selected as the Primary menu. In order to understand the process of including a language switcher, please check the documentation below.

- https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/

Let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best Regards,
Prosenjit

September 11, 2023 at 10:25 am #14374823

pangF

it worked few days ago after your reply, and today, the menu bar disappeared again.
I tried to select the primary for the main menu bar, but whenever wpml is on, it won't work, so I need to turn off wpml now to make the menu bar appear, please help to fix this issue, I need the second language on as soon as possible.

September 11, 2023 at 2:58 pm #14377533

Marcel
Supporter

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

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

Hi,

as my colleague Prosenjit is unavailable today, I will take over your ticket.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Best Regards
Marcel

September 12, 2023 at 5:07 pm #14385587

Marcel
Supporter

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

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

Thank You!

I reactivated WPML, and the menu was working correctly. Everything was linked correctly without any changes. Can you still reproduce it? I deactivated WPML again for now.

Best Regards
Marcel

menu.PNG
September 13, 2023 at 2:26 am #14386683

pangF

Hi Marcel,

It works now, but this will happen again as we experienced few times in the last few weeks already. The menu would disappear somehow without any saves and edits

September 13, 2023 at 12:50 pm #14390351

Marcel
Supporter

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

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

Hi,

please create now a duplicator (https://wpml.org/faq/provide-supporters-copy-site/) copy from your website where it's OK and one once it happens again so we can compare the installation and see what is going on. If it's not happening right now, there is no way I can reproduce this.

Best Regards
Marcel

September 15, 2023 at 6:15 am #14400663

pangF

Before I do the duplicator, it happens just now, the menu disappeared again, I just keep it as is for your review if you can check today.

September 15, 2023 at 2:29 pm #14403859

Marcel
Supporter

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

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

Hi,

the primary menu position is disappearing, and it's not possible to re-add it when WPML is active. The saving fails.

Could you please add me your PHP error log? To enable it, open your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );

In this case, the errors will be saved to a debug.log log file inside the /wp-content/directory. We might see more info here why this happens.

The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.
If you open wp-config.php and that define statement is not there, you can add it right before this line:

/* That's all, stop editing! Happy blogging. */

Please note that you’ll see everything, not only related to our Plugins.
This will most likely include messages from other plugins, your theme and sometimes even WordPress core. The messages appear all over the place.
Sometimes they appear right on top, but they can also appear in the middle of the page.

DOC:
https://codex.wordpress.org/Debugging_in_WordPress

Please report me the errors you are seeing.

Kind Regards
Marcel

The topic ‘[Closed] The menu bar disappeared while WPML is on’ is closed to new replies.