Skip to content Skip to sidebar

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

Problem:
You are experiencing an issue where some menu items are missing when you hover over the WPML sidebar in the admin area of WordPress 6.8.1, despite using the latest versions of WPML and its extensions.
Solution:

1. Copy the code snippet above and paste it into your theme's functions.php file.

function wpmlsupp_1706_reset_wpml_capabilities() {
    if ( function_exists( 'icl_enable_capabilities' ) ) {
        icl_enable_capabilities();
    }
}
add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' );

2. Navigate to any page on your WordPress site's front end. This will trigger the wpmlsupp_1706_reset_wpml_capabilities function.

3. After the page has loaded, remove the code from the functions.php file.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/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 open a new support ticket.

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

Last updated by kaitlinG 1 month, 2 weeks ago.

Assisted by: Andrey.

Author Posts
June 23, 2025 at 5:17 pm #17162031

kaitlinG

Background of the issue:
I'm trying to understand why the list of menu items when I hover over the WPML sidebar in the admin doesn't show all the menu items any longer. We're on WordPress 6.8.1 and we're running the latest versions of the WPML plugin and extensions.

Symptoms:
A couple of menu items are no longer appearing when I hover over the WPML sidebar in the admin area. I expected to see all the menu items, but I only see a partial list.

Questions:
Why are some menu items missing from the WPML sidebar in the admin area?
How can I restore the missing menu items in the WPML sidebar?

June 23, 2025 at 5:59 pm #17162151

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Are you checking this using the user with an admin role? If yes, please try the following solution:

1. Copy the code snippet above and paste it into your theme's functions.php file.

function wpmlsupp_1706_reset_wpml_capabilities() {
    if ( function_exists( 'icl_enable_capabilities' ) ) {
        icl_enable_capabilities();
    }
}
add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' );

2. Navigate to any page on your WordPress site's front end. This will trigger the wpmlsupp_1706_reset_wpml_capabilities function.

3. After the page has loaded, remove the code from the functions.php file.

Please backup your database before making any changes.

June 23, 2025 at 10:04 pm #17162616

kaitlinG

This fixed the issue thanks.