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.
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.
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.
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