Skip to content Skip to sidebar

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

Problem:
The client installed WPML on their development site and production site but encountered errors related to the WordPress REST API not being enabled or not responding correctly.
Solution:
We recommend checking the WordPress REST API's availability and ensuring it is enabled. For detailed steps on how to troubleshoot and resolve issues related to the WordPress REST API with WPML, please follow the suggestions in this support thread.

If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please do not hesitate to open a new support ticket or visit our 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 11 replies, has 0 voices.

Last updated by Noman 5 months ago.

Assisted by: Noman.

Author Posts
October 19, 2025 at 7:42 am #17496474

enricoG-22

Background of the issue:
I installed WPML on a development site called hidden link. I am experiencing issues on both my production site easy-reg.ch and the development site.

Symptoms:
In easy-reg.ch, the error is: 'The WordPress REST API must be enabled for WPML to work correctly. Ensure the REST API endpoint hidden link is reachable and that the WordPress REST API is enabled.' In the development site hidden link, the error is: 'The WordPress REST API must be enabled for WPML to work correctly. The REST API test endpoint hidden link is not responding correctly.'

Questions:
What should I do to fix the issues?

October 19, 2025 at 9:03 am #17496609

Noman

Hi,

Thank you for contacting WPML Support. It seems you are facing the known issue which is already reported to our developers and the workaround is also given. Could you please take a backup of your site and follow the suggested workaround from this errata: https://wpml.org/errata/warning-about-wordpress-rest-api-if-non-authenticated-requests-blocked/ and see if this resolves the issue.

Kindly let me know the results,
Thank you

October 21, 2025 at 10:41 am #17502553

enricoG-22

Hello,

Thank you for the reply. I see this issue will be fixed with WPML 4.8.2 version, correct?
At that time will then be possible to set my site up? Currently we cannot configure it and start with the translations (see screenshot attached to this message).

I actually have the Version 4.8.3 installed and the issue still appears.

Thank you,
Regards,

WPML setup.png
October 21, 2025 at 5:30 pm #17504129

Noman

Thanks for the update, yes indeed, it should work fine with WPML v4.8.3. It seems something went wrong during the WPML installation. If it’s a new site with no translated content, you can reset WPML and set it up again.

To do so:

=== Please backup your database and website ===

- Please go to WPML >> Support >> Troubleshooting (the link is at the bottom of the support page). >> There, click on “Reset and deactivate WPML” >> then Delete the plugin.

- After deleting all WPML data and WPML-related plugins then please install WPML plugins again and I hope now you will not face any issues.

Here is the doc for more details:
https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/#step-3-do-the-wpml-rese

Please let me know if this resolves the issue or if you need further assistance.

Thank you

October 23, 2025 at 11:12 am #17512122

enricoG-22

Hello,

The issue still appears. I removed every plugin related to WPML, installed the otgs-installer-plugin.3.1.14 twice and the Setup screen is still empty.
I tried to installed the sitepress-multilingual-cms.4.8.4 but a message saying tha the link has expired appears each time.

How should I then proceed?

The REST API test endpoint hidden link is correct (see screenshot attached).

Could it be related to our VPN and any internal firewall?

wpstaging Log.png
October 23, 2025 at 1:00 pm #17512587

Noman

Thanks for trying the above steps. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

October 26, 2025 at 1:55 pm #17519522

enricoG-22

Thank you for the feedback. We'll discuss it internally and get back to you if we need further assistance.

October 26, 2025 at 2:26 pm #17519544

Noman

Sure, please feel free to reach out anytime if you need further assistance and we would be more than happy to help.

Thank you

November 6, 2025 at 9:48 am #17552832
enricoG-22

Hello again,

We have now a new issue and there is absolutly no help in your support system.
When we install the plugin, we get now this error ( see attached) : Plugin could not be activated because it triggered a fatal error.

We downloaded the latest version from your website and it's still not working.

Thank you,

New threads created by Noman and linked to this one are listed below:

https://wpml.org/forums/topic/plugin-could-not-be-activated-because-it-triggered-a-fatal-error-16/

WPML error.PNG
November 6, 2025 at 2:45 pm #17554506

Noman

For the “Plugin could not be activated” problem, it’s a different issue and will be handled separately as per our support policy. I've created a new ticket for this at: https://wpml.org/forums/topic/plugin-could-not-be-activated-because-it-triggered-a-fatal-error-16/

Regarding the original WordPress REST API issue, please try to follow the suggestions from this thread: https://wpml.org/forums/topic/wordpress-rest-api-7/#post-17520115 and see if this resolves the issue.

Thank you for your cooperation

November 6, 2025 at 2:52 pm #17554518

enricoG-22

okay. Thank you

November 6, 2025 at 4:04 pm #17554786

Noman

You're welcome! Feel free to reach out if you need anything else. Thank you