Skip Navigation

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Bobby 1 year, 1 month ago.

Assisted by: Bobby.

Author Posts
February 8, 2024 at 9:39 am #15280309

Nohemi

Hi,

I noticed that there is an ajax request to /wp-json/wpml/tm/v1/ate/jobs/retry every time a page is loaded in the backend of WordPress.

First problem : the request is sent even the current user has no right to run it, so it responds a 403 error. The request should be run only if the current user has the good right.

Second problem : is it normal that a request is ran on any page refresh on backend ? No performance issue ? Why you don't use the cron system ?

February 8, 2024 at 10:21 pm #15283678

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi,

I am reviewing this with our team and will update you as soon as I have some feedback.

February 9, 2024 at 1:09 am #15283791

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi,

Please go to WPML->Support->Troubleshooting->ATE Error logs and share with me the top 5 errors logged there.

February 9, 2024 at 7:17 am #15284157

Nohemi

There is just an error.
It seems to no log capabilities errors.

wpml-tm-ate.png
February 9, 2024 at 8:05 pm #15287461

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you, please go to users and verify that a user is not missing an email address.

If I log in to your site what are the steps I can take to reproduce this behavior?

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**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/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

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,
Bobby

February 12, 2024 at 10:06 pm #15295030

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access details!

I have accessed the backend and navigated it, however, I cannot get a 403 error at the moment. Am I possibly missing a step?

Screen Shot 2024-02-12 at 2.05.27 PM.png
February 14, 2024 at 8:57 am #15300585

Nohemi

Hi,

You are not connected as author. You can create another author account or install a plugin like "User Switching" to use the existing one.

February 15, 2024 at 7:18 pm #15309214

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I've replicated the issue in a clean sandbox environment, and we're currently examining this behavior. I'll keep you updated with any new information.

For now, you can keep using WPML as usual. The 403 error appears in the console only for non-admin users who haven't been added as translators.

To remove this error from the console, you can add the user as a translator by navigating to WPML->Translation Management->Translators.

May 14, 2024 at 5:57 pm #15626744

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

A quick update regarding this issue, you can follow it's progress in the following Errata documentation along with finding a workaround listed there that could help until a permanent solution is added by our team.

https://wpml.org/errata/403-error-for-non-admin-users-in-wpml/