Skip Navigation

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

Problem:

There are missing admin menu items under WPML.

Solution:

- Back up the site to prevent any issues.
- Place the following code in your theme functions.php file
- Load the site once in the browser.
- Remove the code from the file.

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


**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

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

Last updated by Itamar 1 year, 7 months ago.

Assisted by: Itamar.

Author Posts
December 4, 2023 at 6:56 am #14982319

martinS-238

Hi Itamar,

after working with the plugin for a few minutes the translation queue disappeared again. The menu items are still there. So we still have to fix this problem with the disappearing translation queue.

Best,
Martin

December 4, 2023 at 7:20 am #14982373

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, Martin.

It's great that the problem is fixed now!

I'm consulting our second-tier supporters about this case and will report to you once I have their reply.

Regards,
Itamar.

December 4, 2023 at 7:29 am #14982439

martinS-238

Please see my last reply, that the translation queue is still disappearing.

December 4, 2023 at 12:43 pm #14986819

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I've just checked your site. In WPML -> Translations, I see an empty queue. Please see the attached screenshot. It is not the problem I could see before the fix where nothing showed on this screen. The translation queue is empty because there are no assigned translation jobs.

Do you still get the problem as before?
I mean, the problem you showed in this screenshot?
https://wpml.org/wp-content/uploads/2023/12/14980439-2023_12_03_17_22_38.jpg

I'm also consulting our second-tier supporter about the warning you shared in the email.

Warning: Attempt to read property "element_id" on null in /srv/htdocs/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/jobs/class-wpml-tm-rest-jobs-view-model.php on line 187

Regards,
Itamar.

2023-12-04_14-36-08.jpg
December 4, 2023 at 2:10 pm #14987819

martinS-238

Hi Itamar,

in the meantime I followed this solution:
https://wpml.org/forums/topic/the-translations-queue-starts-loading-and-then-completely-disappears/

That is why the queue is visible now.

So it seams as if all problems are resolved for the moment.

Thank you very much for your support.

December 4, 2023 at 2:13 pm #14987825

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Great, Martin; I'm glad that the issue is solved now.

Don't hesitate to contact us again with any WPML issues or questions.

Regards,
Itamar.