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: Exception
This topic contains 3 replies, has 2 voices.
Last updated by Mihai Apetrei 1 year, 10 months ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
August 11, 2023 at 5:08 pm #14190077 | |
guyH-8 |
I am trying to: Restore missing settings Link to a page where the issue can be seen: hidden link I expected to see: hidden link Instead, I got: hidden link Hi there, We recently took over management of this site, it was all quite out of date etc. We bought a new license and have gone through updating everything. However I've come to notice alot of settings are missing that are in the docs and are also present on another of the sites we manage. All seems to work OK, all the translations are there etc. And at a first glance the languages table etc seems to be present in the database. It's quite odd we dont experience any errors and the upgrade seemed to go OK. I believe the menus were missing prior to the upgrade too (we do have a backup). I have tried disabling all other plugins and also choosing a default theme. Any recommendations here? Could I be missing something? Many Thanks |
August 11, 2023 at 5:26 pm #14190117 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there, Jeremy. Before this ticket gets assigned to one of my colleagues, I will try to help. Can you also please paste your WPML Debug information in the Debug information field? - http://wpml.org/faq/provide-debug-information-faster-support/ Also, make sure that you remove/clear any existing site caching / server caching / CDN caching. Thank you. Mihai Apetrei |
August 11, 2023 at 7:03 pm #14190455 | |
guyH-8 |
Well that's one of the items that's missing from the WPML settings I'm afraid. So impossible for me to get to the troubleshooter or debug info |
August 11, 2023 at 8:40 pm #14190753 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Thank you for the update. Can you please try this (or if you know that you have some custom access implementation through custom code or a plugin, please edit that accordingly): IMPORTANT: PLEASE MAKE A FULL BACKUP OF THE SITE FIRST! - Add the code below into the functions.php file inside the theme folder //WPML -> PERMISSION -> RESTORE - RESET // THIS performs a reset on icl capabilities (run once in functions.php ): // TO BE USED WHEN SOME WPML MENU IS NOT PRESENT OR AUTHORIZATION IS REQUIRED // YOU CAN ALSO TRY to manually update "_wpml_inactive" in database to 0. function wpmlsupp_1706_reset_wpml_capabilities() { if ( function_exists( 'icl_enable_capabilities' ) ) { icl_enable_capabilities(); } } add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' ); Please let us know if anything changes after you try this and if you now see the tabs that are currently missing. Mihai |
August 14, 2023 at 11:39 am #14197017 | |
guyH-8 |
Thank you very much! That seems to have done the trick! Great Work! |