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

Last updated by frankW-13 1 year, 7 months ago.

Assigned support staff: Yvette.

Author Posts
October 26, 2018 at 10:30 am #2852767


I am trying to: Sync Menu between languages

Link to a page where the issue can be seen:

hidden link

I expected to see:

Instead, I got: Error Message Unfortunately you are not allowed to access this pa

October 29, 2018 at 11:40 am #2857679


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

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

Hello, thank you for contacting WPML Support!
I will take care of your ticket.

To fix this, I suggest you run the following snippet:

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

Just add the above code in your theme's functions.php file (between the <?php and ?> tags) and visit once the front-page.

Then you can remove this snippet.

Please let me know if this fixes the issue.

Thank you!

October 29, 2018 at 12:11 pm #2857868


My issue is resolved now. Thank you!