This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to access WPML>>Settings>>Taxonomies Translation due to a fatal error indicating a type mismatch in WPML_WP_Roles::get_highest_level(). Solution: We recommend logging in as a different admin user to verify if the issue persists. Additionally, it's crucial to perform a full site backup before attempting any fixes. You may also want to try the workaround suggested in a related support ticket, which can be found here: related support ticket.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please open a new support ticket. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.
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.
But I can not access WPML>>Settings>>Taxonomies Translation
When I do I get the following FATAL ERROR:
Fatal error: Uncaught Error: WPML_WP_Roles::get_highest_level(): Argument #1 ($capabilities) must be of type array, bool given, called in /home/wordpress/doc_root/wp-content/plugins/sitepress-multilingual-cms/classes/wpml-wp/class-wpml-wp-roles.php on line 94
in /home/wordpress/doc_root/wp-content/plugins/sitepress-multilingual-cms/classes/wpml-wp/class-wpml-wp-roles.php on line 56
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
Please login as a different admin user and make sure the bug exists or not.
This may be related to the following ticket. Please try the workaround suggested there after a full site backup and make sure the problem remains or not.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.