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.
This topic contains 2 replies, has 2 voices.
Last updated by Bobby 3 years, 9 months ago.
Assisted by: Bobby.
Author | Posts |
---|---|
March 2, 2021 at 10:50 pm #8212207 | |
waleedO |
Hi Previously i had an unsolved problem in wpml . I'm unable to assign a role to myself. my last ticket was about this issue. but i didn't find the help. I'm getting an error in translation roles tab. |
March 2, 2021 at 11:57 pm #8212269 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
I would like to request temporary access (wp-admin and FTP) to your site to test the issue. **Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken ** I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/ NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin. Thank you, |
March 3, 2021 at 4:10 am #8213219 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thanks for the access details! Once I enabled error logging I was able to find the following error that points to the issue. PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_WP_Roles::get_highest_level() must be of the type array, null given, called in /Applications/MAMP/htdocs/j/wp-content/plugins/sitepress-multilingual-cms/classes/wpml-wp/class-wpml-wp-roles.php on line 94 and defined in /Applications/MAMP/htdocs/j/wp-content/plugins/sitepress-multilingual-cms/classes/wpml-wp/class-wpml-wp-roles.php:56 There are custom roles on your site and 2 of them have no capabilities which in turn causing the blank page and the error 500. 1.Install the plugin https://wordpress.org/plugins/user-roles-and-capabilities/ Then go back to WPML->Translation Management and finalize the config screen |