Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
As administrators, you are unable to create new translations or access existing ones in WordPress, receiving a '403 Forbidden' error. This issue persists even after resetting the plugin and coincides with a recent update to 'Better Docs'.
Solution:
We recommend increasing the WordPress memory limit. You can do this by adding the following lines to your wp-config.php file:

define('WP_MEMORY_LIMIT', '1024M');

define('WP_MAX_MEMORY_LIMIT', '1024M');

This adjustment has resolved similar issues in the past.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance. You can do so at the WPML support forum.

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: 

This topic contains 16 replies, has 2 voices.

Last updated by Paola Mendiburu 1 year, 1 month ago.

Assisted by: Paola Mendiburu.

Author Posts
July 16, 2024 at 9:17 am

christophD-12

Background of the issue:
Since last week (Thursday/Wednesday), we as admin (two admins) no longer have access to the translations. We cannot create new translations or access translations that have been created. We have tried to assign the individual pages (pages in WordPress & docs in Better Docs) to a user (admin) via translation management. The user was then able to open some of the translations via the link in the email, but not via the 'Translations queue' in WordPress. Previously, we did the translation via the '+' next to the respective page. We also reset the plugin and set it up again, but the error still persisted. There was only one update for 'Better Docs' during the time in which the error occurred, otherwise no changes were made to the settings.

Symptoms:
403 Forbidden - You don't have permission to access this resource.

Questions:
Why are we receiving a '403 Forbidden' error when trying to access translations?
Why can the user open translations via the email link but not via the 'Translations queue' in WordPress or the "+" in the page overview?
Could the recent update to 'Better Docs' be causing this issue?
What steps can we take to resolve this access issue?

July 16, 2024 at 4:37 pm #15961506

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

The issue has been escalated to the second tier.

I will let you know when I have some news.

July 16, 2024 at 5:01 pm #15961620

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Could you please increase the memory and let me know if the problem persists?

July 17, 2024 at 5:18 am #15963743

christophD-12

What do you mean by that? The memory used by WPML or the memory of the server on which WordPress is hosted?

We have already set a memory limit for this wordpress of 256M.

We have installed all updates that are available since tonight (Betterdocs and wordpress). The problem still exists.

Bildschirmfoto 2024-07-17 um 07.15.02.png
July 17, 2024 at 7:27 am #15964332

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

The wordpress memory.

Increase it to 1024 or more:

define ('WP_MEMORY_LIMIT', '1024M');
define ('WP_MAX_MEMORY_LIMIT', '1024M');

We have seen this issue in the past and increasing the memory solved the issue.

July 17, 2024 at 9:27 am #15965170

christophD-12

We have changed the limit in wp-config.php. The problem still exists.

We have also disabled the php boost on server.

July 17, 2024 at 10:16 am #15965582

christophD-12

We just found out that we could access certain URLs if we deleted certain parameters from the url.

eg: Editing a Translation via Translation queue
When we press the "Edit"/"Translate" Button in the queue, we are redirected to this url, which causes an error:
hidden link

deleting the parameters:
return_url=
hidden link

then it is working:
hidden link;

July 17, 2024 at 10:17 am #15965585

christophD-12

We just found out that we could access certain URLs if we deleted certain parameters from the url.

eg: Editing a Translation via Translation queue
When we press the "Edit"/"Translate" Button in the queue, we are redirected to this url, which causes an error:
hidden link

deleting the parameters:
return_url=
hidden link

then it is working:
hidden link;

July 17, 2024 at 12:49 pm #15966281

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Thanks for that.

I have shared it with the second tier.

I will let you kno when I have some news.

July 18, 2024 at 11:38 am #15972194

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Hi there!

I see that now is working properly, it seems increasing the memory solves the issue.

July 19, 2024 at 10:06 am #15977284

christophD-12

Hello,
I have tested in various places whether the translation works.
Editing via the translation queue as well as via the pages or Betterdocs documents works. I can also access the translation again from a page.

However, all Betterdocs categories have lost their language assignment and the translated pages are not all visible. I will first reassign, set everything correctly, activate the plugins and then get back to you next week.

July 19, 2024 at 10:07 am #15977288

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Ok thank you!

July 22, 2024 at 9:41 am #15985858

christophD-12

A question: Have you or the second level support deleted the icon fonts in the fonts folder?

.../wp-content/fonts/reGISterIcons.woff
.../wp-content/fonts/custom-set.woff

Is it possible that a custom icon font (such as font-awesome) caused the error?

July 22, 2024 at 10:43 am #15986294

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Hi there!

We haven´t delete anything.

July 23, 2024 at 9:11 am #15991633

christophD-12

Hello there,

the Advanced Translation Editor ist working again, however the translation of a betterdocs page isn't found, when i want to view it.