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.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| - | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
| - | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | - |
Supporter timezone: Europe/Zagreb (GMT+01:00)
This topic contains 13 replies, has 2 voices.
Last updated by Dražen 3 years, 11 months ago.
Assisted by: Dražen.
| Author | Posts |
|---|---|
| February 9, 2022 at 4:18 pm #10544257 | |
|
Mirco Babini |
I am trying to: create a new user, from a non-administrator user (which has access to BE, but has no access to any translation related thing, nor related capabilities. but ATE js is loading and breaking because rest "retry" api returns 403 forbidden... which is correct since they don't have the capability). Link to a page where the issue can be seen: /wp-admin/user-new.php when logged in as "Staff" user role. I expected to see: I just want to create a new user, without js issues. Instead, I got: I can't do it because of js issues. I've also tried to: I read the ATE code and I see that if I assign the manage_translations capability to the Staff role users, it won't break. That's right, this works, but doesn't make any sense. I don't want them to be able to manage translations at all. |
| February 10, 2022 at 6:58 am #10547801 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello! Welcome to WPML Support. Can you please try to reproduce the issue in a dummy simple example? I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons. You can access the WordPress dashboard using the link below: Kindly follow the steps below: This will help us to report faster the probable issue to our team./em> Thanks, |
| February 10, 2022 at 3:34 pm #10553303 | |
|
Mirco Babini |
Yes, done. 1) Go to the user list: hidden link The error is there. |
| February 10, 2022 at 3:59 pm #10553469 | |
|
Mirco Babini |
Damn it, I touched something and the error disappeared, I'm unable to replicate it anymore (on your demo). Can you please create me another empty demo like before? |
| February 11, 2022 at 7:29 am #10558029 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, sure, here it is: - hidden link Also, can you please try to reproduce it without additional plugins, like the user switching plugin. That way we can confirm it happens when only WPML is used and not caused when in combination with any other. Feel free to share credentials and test steps in your next private reply. Thanks, |
| February 11, 2022 at 10:41 am #10559441 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. I have tried to log in to check, but it seems the shared credentials are not correct. I keep getting errors, please check. Also, can you share steps on how we can reproduce the issue, I have tried as you explained but it works just fine for me: Video: Thanks, |
| February 11, 2022 at 10:44 am #10559449 | |
|
Mirco Babini |
Sorry, wrong url. Retry with: hidden link |
| February 11, 2022 at 11:02 am #10559525 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. 1) You reported, "Instead, I got: I can't do it because of js issues." I have logged in as staff, and yes the error message is there but still user is created normally. Am I missing some steps here? 2) How are you creating the STAFF role, using some custom code or? Please let me know. Thanks, |
| February 11, 2022 at 8:19 pm #10563713 | |
|
Mirco Babini |
1) Right, it still possible to create the user; in my live site, I have another error which lead me to think this was the cause but it's not; |
| February 14, 2022 at 9:56 am #10572789 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. So just to confirm on topic here: You are reporting an ATE JS error in the console and suggesting it should not appear there? Correct? As I think this might be expected, but if you think otherwise I can check further with our developers. Let me know. Thanks, |
| February 14, 2022 at 10:16 am #10573113 | |
|
Mirco Babini |
Since the "staff" user has absolutely no permissions about translations, I think the ATE scripts should not run at all. Yes, I think this must be forwarded to your devs. |
| February 14, 2022 at 12:08 pm #10574611 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. I also checked further and can see the error message is happening on any backend screen not only Add New users. I've escalated this ticket to our developer's team. They are taking a look at the issue and I will let you know as soon as they have updated. Please note that this process may take a while. Thank you for your patience. Regards, |
| March 1, 2022 at 9:14 am #10683339 | |
|
Mirco Babini |
Any news on this? |
| March 1, 2022 at 9:19 am #10683355 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, is scheduled for a permanent fix in one of the next releases. The message does not create any blocking in the backend. The error message is logged in the console when the request is not completed which is the case when a user does not have permissions. However, this is not the best practice and we will adjust and check if the user has permission before sending the request. I will update you when the version with the fix is released. Kind regards, |