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: Bug
This topic contains 20 replies, has 3 voices.
Last updated by Itamar 1 year, 7 months ago.
Assisted by: Itamar.
Author | Posts |
---|---|
November 29, 2023 at 9:41 am #14948195 | |
martinS-238 |
Tell us what you are trying to do? Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? |
November 29, 2023 at 10:50 am #14949237 | |
martinS-238 |
Hello, it is really time to get any assistance. We need to release tomorrow and WPML is not working as expected. Best, |
November 29, 2023 at 1:12 pm #14951467 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, thanks for contacting us. I'm sorry but your explanation is a bit too vague, what does it mean "cannot get it to work"? We'd also need your debug information https://wpml.org/faq/provide-debug-information-faster-support/ |
November 29, 2023 at 2:43 pm #14952775 | |
martinS-238 |
Dear Laura, as I already mentioned, I miss the entries in the WPML menu. There is no such menu entry like support etc. I think we have to do a online meeting so I can show you the problems. The installation just did not work completely and is in a weird state. I've alread deleted and installed the plugin to start all over, but it does not help. - I have not all the neccessary menu items Best, |
November 29, 2023 at 5:53 pm #14954747 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Martin. I'll continue to help you with this issue. If you need further help with this, please share the access details to your site with me. Please explain to me where to go to see this problem. It would be great if you would add screenshots of the problem. And even better if you could share a video of it. I usually use the Loom service for screencasts. hidden link Privacy and Security Policy |
November 29, 2023 at 7:48 pm #14956133 | |
martinS-238 |
Dear Itamar, I would need a email address to create an admin account for you. Best, |
November 30, 2023 at 7:07 am #14958471 | |
martinS-238 |
Can you please again activate a private reply message. I now have an account that you can use. |
November 30, 2023 at 7:10 am #14958477 | |
martinS-238 |
Here are more details: The issue with the missing menu items: see screenshot 1 |
November 30, 2023 at 8:53 am #14959475 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, A private message is active for the following reply. Regards, |
November 30, 2023 at 9:24 am #14959981 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, The access link is to the wordpress.com pannel. The username and password you gave me are not working there. I must have direct access to the site in question. For example, hidden link. PLease edit the last private reply and change the access details. If you must have an email address, this is my email address. Regards, |
December 3, 2023 at 2:41 pm #14980225 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Martin. I'm sorry, but I still can't access your site. Just now, I explained the situation in the email you sent me. Please see my email. In any case, I'm enabling a private message for the next reply so you can share the correct access details with me. Regards, |
December 3, 2023 at 3:41 pm #14980439 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Thanks for the access details. I tried what you suggested before writing to you today. But now I tried it again, and it worked. I confirm that I see the problem you mention on your site. A. In the admin, there are only four menu items under WPML. I'm attaching the screenshots of the problem. I suspect that there is a collision with the theme or another plugin that might cause this problem. If possible, get your site into a minimum environment. Minimum environment means switching to a default WordPress theme like TwentyTwenty-One and no plugins activated except WPML. First, you must check if the problem persists when the theme is switched to TwentyTwenty-One (for example). If it continues, deactivate all plugins except the WPML and its add-ons. Then please check if the problem persists. If it does not persist, start by activating the plugins one by one and check when the problem comes back, then report to me which was the culprit plugin. |
December 3, 2023 at 5:38 pm #14980771 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, I also found the following ticket with what seems to be a similar problem. https://wpml.org/forums/topic/wpml-menu-is-not-fully-loading-in-the-backend/#post-11413373 You can apply the suggested workaround and see if it works on your site. |
December 4, 2023 at 5:51 am #14981945 | |
martinS-238 |
Hi Itamar, I will check the things you told me and be back to you soon. Best, |
December 4, 2023 at 6:27 am #14981999 | |
martinS-238 |
Hi Itamar, the code in the functions.php in my theme did the trick. I opened it in in my WP Cloud under Appearance/Theme File Editor. There I added the following code at the very end, saved it, reloaded the site and deleted the code again. After this the menu had the missing menu items and also the translation queue appeared again. function wpmlsupp_1706_reset_wpml_capabilities() { Now I could also give you the debug infos as wished. Maybe you can see there, why this has happened. Best, |